项目

一般

简介

GotoLabelEx » 历史记录 » 版本 2

tejie, 2024-12-20 19:04

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