if(msg == "/zd")then Char.SetLoopEvent(nil,"zl_LoopEvent",player,3000); Char.EndEvent(player,259,1); end复制代码
function zd_LoopEvent(player) local dir= math.random(1,19); local walk = 1; NLG.SetAction(player,walk); NLG.WalkMove(player,dir); end复制代码
PetImg.zip
2022-5-25 10:36 上传
点击文件名下载附件
860 Bytes, 下载次数: 0, 下载积分: 金币 -1
举报
if(msg == "/zd")then Char.SetLoopEvent(nil,"zd_LoopEvent",player,3000); end复制代码
开心游戏 发表于 2022-6-4 11:34 可以自动战斗吗?
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|cgmsv引擎论坛
GMT+8, 2024-11-21 22:09 , Processed in 0.162619 second(s), 10 queries , Gzip On, MemCached On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.