PlayEffect » 历史记录 » 版本 4
yangdefeng, 2022-06-22 08:21
1 | 2 | yangdefeng | h4. _*%{color:green}playEffect%*_ |
---|---|---|---|
2 | |||
3 | 1 | machenhe | 在主角身上播放指定特效 |
4 | |||
5 | 标签:命令定义|playEffect |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 |参数2 | |
||
9 | |playEffect |特效名称 |播放时长 | |
||
10 | |||
11 | 说明: |
||
12 | 4 | yangdefeng | * 参数1: 特效名称 |
13 | 1 | machenhe | |
14 | 4 | yangdefeng | * 参数2: 播放时长,单位毫秒 |
15 | 1 | machenhe | |
16 | 4 | yangdefeng | * 支持多级脚本 |
17 | m.playEffect 资源名称 时间 |
||
18 | |||
19 | 1 | machenhe | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
20 | |||
21 | bq. [<notextile>@</notextile>播放特效] |
||
22 | #act |
||
23 | 4 | yangdefeng | *{color:green}playEffect* guangzhu1186 10000 |
24 | |||
25 | - |
||
26 | - |
||
27 | |||
28 | bq. qfunction触发器 |
||
29 | [@attack] |
||
30 | #if |
||
31 | #act |
||
32 | *{color:green}m.playEffect* guangzhu1178 -1 |
||
33 | sendMsg 6 你对怪物造成伤害,并且怪物身上触发了特效 |