猫史档案馆


提供代码岛3.0开车代码者,给100~300金币(先到先得)

用户:ZCHWill666ZCHWill666查看:11 回复:4 评论:11 创建时间:2020-06-02T13:48:00


快点发啊喵11111111


回复

上一页1 页 / 共 1下一页
卫道士32_32*2没了卫道士32_32*2没了

给图就行

world.querySelectorAll(".car").forEach(e=>{
    e.onEntityContact(({entity,other})=>{ 
    if(!other.isPlayer){return}
    other.mesh=entity.mesh;
    world.say(""+entity.meshScale)
    other.meshScale=entity.meshScale;
    other.player.invisible=true;
})})

 

前提:车有“car”标签。

点赞0


评论


ZCHWill666ZCHWill666

y要多少金币

点赞0


评论


一块石头落地一块石头落地

world.querySelectorAll('.target').forEach((e)=>{
e.onEntityContact(({entity,other})=>{  
if(!other.isPlayer){return} 
other.mesh=entity.mesh;  
other.meshScale=entity.meshScale;  
other.player.invisible=true;
world.say(other.player.name+'你已经开上车了')  
world.say('说我要下车就可以下车了')
})
})
world.onChat(({message,entity})=>{
    if(message==='我要下车'){
        entity.mesh='';
        entity.player.invisible=false;
        world.say(entity.player.name+'下了车')
    }
})

点赞0


评论


HP_格兰芬多哈迷HP_格兰芬多哈迷

world.querySelectorAll('.车').forEach((e)=>{
e.onEntityContact(({entity,other})=>{ 
if(!other.isPlayer){return}
other.mesh=entity.mesh;
other.meshScale=entity.meshScale;
other.player.invisible=true;
other.meshOrientation = new Box3Quaternion(0, 1, 0, 0);
world.say(other.player.name+" 开启了车");
other.player.runSpeed = 2;
other.player.walkSpeed = 1.5;
other.player.scale =0.6;
other.player.jumpPower = 0;
});
});

点赞0


评论