项目

一般

简介

GotoLabelEx » 历史记录 » 版本 4

tejie, 2025-06-03 10:59

1 2 tejie
h4. *_{color:green}gotoLabelEx_*
2
3 1 machenhe
自定义指定范围触发多人脚本
4
5 2 tejie
标签:命令定义^gotoLabelEx
6 1 machenhe
7
*格式*
8
|命令名     |参数1             |参数2|参数3|参数4|参数5       |参数6   |
9
|gotoLabelEx|模式(0组队,1行会) |X    |Y    |范围 |触发脚本位置|跳转标签|
10
11
*说明*
12 4 tejie
|^.参数1|=0 组队模式
13
=1 行会模式|
14
|参数2|触发中心点X坐标|
15
|参数3|触发中心点Y坐标|
16
|参数4|触发范围|
17
|^.参数5|触发脚本在哪个文件中
18
=0 QFunction-0.txt
19
=1 当前脚本文件|
20
|参数6|跳转标签|
21 1 machenhe
22
23
-
24
-
25
26 2 tejie
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
27 1 machenhe
28
bq. [<notextile>@</notextile>main]
29
#act
30 2 tejie
*{color:green}gotoLabelEx* 0 <$x> <$y> 12 1 <notextile>@</notextile>多人脚本
31 1 machenhe
%{color:lightGrey};
32
;--满足条件的在线角色均会执行以下脚本%
33
[<notextile>@</notextile>多人脚本]
34
#act
35 2 tejie
[[sendMsg]] 6 特戒欢迎你【%s】
36
37
-
38
-
39
40
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
41
42
组队杀怪,队友获得经验用例。
43
44
*..\Mir200\Envir\Market_Def\QFunction-0.txt*
45
46
bq. <notextile>[@onKillMob]</notextile>
47
#if
48
#act
49
[[getDbMonsterFieldValue]] <$killMonName> exp n1
50
<notextile></notextile>
51
[[mov]] n$杀怪经验 <$str(n1)>
52
<$team4>.movex2 n$杀怪经验 <$str(n$杀怪经验)>
53
<$team3>.movex2 n$杀怪经验 <$str(n$杀怪经验)>
54
<$team2>.movex2 n$杀怪经验 <$str(n$杀怪经验)>
55
<$team1>.movex2 n$杀怪经验 <$str(n$杀怪经验)>
56
<$team0>.movex2 n$杀怪经验 <$str(n$杀怪经验)>
57
<notextile></notextile>
58
[[mov]] s$击杀者 <$userName>
59
*{color:green}gotoLabelEx* 0 <$x> <$y> 12 0 <notextile>@组队经验</notextile>
60
<notextile></notextile>
61
<notextile>[@组队经验]</notextile>
62
#if
63
[[equal]] <$str(s$击杀者)> <$userName>
64
#act
65
[[mov]] s$击杀者
66
break
67
<notextile></notextile>
68
#if
69
#act
70
[[changeExp]] + <$str(n$杀怪经验)>