项目

一般

简介

GotoLabelEx » 历史记录 » 版本 5

tejie, 2025-06-24 18:31

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 5 tejie
*相关命令*
23
[[gotoLabel]] 
24 1 machenhe
25
-
26
-
27
28 2 tejie
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
29 1 machenhe
30
bq. [<notextile>@</notextile>main]
31
#act
32 2 tejie
*{color:green}gotoLabelEx* 0 <$x> <$y> 12 1 <notextile>@</notextile>多人脚本
33 1 machenhe
%{color:lightGrey};
34
;--满足条件的在线角色均会执行以下脚本%
35
[<notextile>@</notextile>多人脚本]
36
#act
37 2 tejie
[[sendMsg]] 6 特戒欢迎你【%s】
38
39
-
40
-
41
42
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
43
44
组队杀怪,队友获得经验用例。
45
46
*..\Mir200\Envir\Market_Def\QFunction-0.txt*
47
48
bq. <notextile>[@onKillMob]</notextile>
49
#if
50
#act
51
[[getDbMonsterFieldValue]] <$killMonName> exp n1
52
<notextile></notextile>
53
[[mov]] n$杀怪经验 <$str(n1)>
54
<$team4>.movex2 n$杀怪经验 <$str(n$杀怪经验)>
55
<$team3>.movex2 n$杀怪经验 <$str(n$杀怪经验)>
56
<$team2>.movex2 n$杀怪经验 <$str(n$杀怪经验)>
57
<$team1>.movex2 n$杀怪经验 <$str(n$杀怪经验)>
58
<$team0>.movex2 n$杀怪经验 <$str(n$杀怪经验)>
59
<notextile></notextile>
60
[[mov]] s$击杀者 <$userName>
61
*{color:green}gotoLabelEx* 0 <$x> <$y> 12 0 <notextile>@组队经验</notextile>
62
<notextile></notextile>
63
<notextile>[@组队经验]</notextile>
64
#if
65
[[equal]] <$str(s$击杀者)> <$userName>
66
#act
67
[[mov]] s$击杀者
68
break
69
<notextile></notextile>
70
#if
71
#act
72
[[changeExp]] + <$str(n$杀怪经验)>