SetClientBuff » 历史记录 » 版本 1
yangdefeng, 2022-06-21 19:08
1 | 1 | yangdefeng | h4. _*%{color:green}setClientBuff%*_ |
---|---|---|---|
2 | |||
3 | 游戏窗口左上角添加buff图标 |
||
4 | |||
5 | 标签:命令定义|setClientBuff |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 |参数2 |参数3 |参数4 |参数5 | |
||
9 | |setClientBuff |无效参数 |buffId |图标资源 |显示时长 |tips文字 | |
||
10 | |||
11 | *说明* |
||
12 | * 参数1: 无效参数,填写-1 |
||
13 | |||
14 | * 参数2: buffId |
||
15 | |||
16 | * 参数3: 图标资源,参见 [[资源编辑器]] |
||
17 | |||
18 | * 参数4: 显示时长,会有倒计时,单元秒;-1表示永久,不再出现倒计时 |
||
19 | |||
20 | * 参数5: tips文字 |
||
21 | ** “\”表示换行 |
||
22 | ** “\[[颜色编码id]]/”表示本行颜色,首行为“[[颜色编码id]]/” |
||
23 | |||
24 | |||
25 | |||
26 | - |
||
27 | - |
||
28 | |||
29 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
30 | |||
31 | - |
||
32 | - |
||
33 | |||
34 | bq. [<notextile>@</notextile>main] |
||
35 | #act |
||
36 | [[openMerchantBigDlg]] ok_di 4 0 0 1 0 0 |
||
37 | #say |
||
38 | <加buff图标1/<notextile>@</notextile>加buff1>\ \ |
||
39 | <加buff图标2/<notextile>@</notextile>加buff2>\ \ |
||
40 | <删buff图标1/<notextile>@</notextile>删buff1>\ \ |
||
41 | <删buff图标2/<notextile>@</notextile>删buff2>\ \ |
||
42 | |
||
43 | [<notextile>@</notextile>加buff1] |
||
44 | #act |
||
45 | *{color:green}setClientBuff* -1 1 0000025 -1 254/[隐藏属性]:\70/单件触发 |
||
46 | |
||
47 | [<notextile>@</notextile>加buff2] |
||
48 | #act |
||
49 | *{color:green}setClientBuff* -1 2 0000026 20 buff2\文字备注 |
||
50 | |
||
51 | [<notextile>@</notextile>删buff1] |
||
52 | #act |
||
53 | [[closeClientBuff]] 1 |
||
54 | |
||
55 | [<notextile>@</notextile>删buff2] |
||
56 | #act |
||
57 | [[closeClientBuff]] 2 |