GotoLabelEx » 历史记录 » 修订 2
修订 1 (machenhe, 2022-04-25 14:45) → 修订 2/3 (tejie, 2024-12-20 19:04)
h4. *_{color:green}gotoLabelEx_* 自定义指定范围触发多人脚本 标签:命令定义^gotoLabelEx 标签:命令定义|gotoLabelEx *格式* |命令名 |参数1 |参数2|参数3|参数4|参数5 |参数6 | |gotoLabelEx|模式(0组队,1行会) |X |Y |范围 |触发脚本位置|跳转标签| *说明* * 参数1 =0 组队模式 =1 行会模式 * 参数2 触发中心点X坐标 * 参数3 触发中心点Y坐标 * 参数4 触发范围 * 参数5 触发脚本在哪个文件中 ** =0 QFunction-0.txt ** =1 当前脚本文件 * 参数6 跳转标签 - - h4. *%{color:deepskyblue}特戒引擎脚本示例:%* *%{color:deepskyblue}脚本示例:%* bq. [<notextile>@</notextile>main] #act *{color:green}gotoLabelEx* gotoLabelEx 0 <$x> <$y> 12 1 <notextile>@</notextile>多人脚本 %{color:lightGrey}; ;--满足条件的在线角色均会执行以下脚本% [<notextile>@</notextile>多人脚本] #act [[sendMsg]] sendMsg 6 特戒欢迎你【%s】 - - h4. *%{color:deepskyblue}特戒引擎脚本示例:%* 组队杀怪,队友获得经验用例。 *..\Mir200\Envir\Market_Def\QFunction-0.txt* bq. <notextile>[@onKillMob]</notextile> #if #act [[getDbMonsterFieldValue]] <$killMonName> exp n1 <notextile></notextile> [[mov]] n$杀怪经验 <$str(n1)> <$team4>.movex2 n$杀怪经验 <$str(n$杀怪经验)> <$team3>.movex2 n$杀怪经验 <$str(n$杀怪经验)> <$team2>.movex2 n$杀怪经验 <$str(n$杀怪经验)> <$team1>.movex2 n$杀怪经验 <$str(n$杀怪经验)> <$team0>.movex2 n$杀怪经验 <$str(n$杀怪经验)> <notextile></notextile> [[mov]] s$击杀者 <$userName> *{color:green}gotoLabelEx* 0 <$x> <$y> 12 0 <notextile>@组队经验</notextile> <notextile></notextile> <notextile>[@组队经验]</notextile> #if [[equal]] <$str(s$击杀者)> <$userName> #act [[mov]] s$击杀者 break <notextile></notextile> #if #act [[changeExp]] + <$str(n$杀怪经验)>