CheckUseItem » 历史记录 » 版本 2
tejie, 2025-10-17 14:59
| 1 | 2 | tejie | h4. _*%{color:green}checkUseItem%*_ |
|---|---|---|---|
| 2 | |||
| 3 | 1 | machenhe | 检测角色身上指定装备位,是否穿戴了物品 |
| 4 | |||
| 5 | 2 | tejie | 标签:命令定义^checkUseItem |
| 6 | 1 | machenhe | |
| 7 | *格式* |
||
| 8 | |命令名 |参数1 | |
||
| 9 | |checkUseItem |装备位id | |
||
| 10 | |||
| 11 | *说明* |
||
| 12 | 2 | tejie | |参数1|装备位id(0-16) |
| 13 | 参见 *[[装备位置|装备位id(0-16)]]*| |
||
| 14 | 1 | machenhe | |
| 15 | - |
||
| 16 | - |
||
| 17 | |||
| 18 | 2 | tejie | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
| 19 | 1 | machenhe | |
| 20 | bq. [<notextile>@</notextile>main] |
||
| 21 | #say |
||
| 22 | <检测穿戴0/<notextile>@</notextile>检测穿戴(0)>< ><检测穿戴1/<notextile>@</notextile>检测穿戴(1)>\\ \\ |
||
| 23 | <检测穿戴2/<notextile>@</notextile>检测穿戴(2)>< ><检测穿戴3/<notextile>@</notextile>检测穿戴(3)>\\ \\ |
||
| 24 | <检测穿戴4/<notextile>@</notextile>检测穿戴(4)>< ><检测穿戴5/<notextile>@</notextile>检测穿戴(5)>\\ \\ |
||
| 25 | <检测穿戴6/<notextile>@</notextile>检测穿戴(6)>< ><检测穿戴7/<notextile>@</notextile>检测穿戴(7)>\\ \\ |
||
| 26 | <检测穿戴8/<notextile>@</notextile>检测穿戴(8)>< ><检测穿戴9/<notextile>@</notextile>检测穿戴(9)>\\ \\ |
||
| 27 | <检测穿戴10/<notextile>@</notextile>检测穿戴(10)>< ><检测穿戴11/<notextile>@</notextile>检测穿戴(11)>\\ \\ |
||
| 28 | <检测穿戴12/<notextile>@</notextile>检测穿戴(12)>< ><检测穿戴13/<notextile>@</notextile>检测穿戴(13)>\\ \\ |
||
| 29 | <检测穿戴14/<notextile>@</notextile>检测穿戴(14)>< ><检测穿戴15/<notextile>@</notextile>检测穿戴(15)>\\ \\ |
||
| 30 | <检测穿戴16/<notextile>@</notextile>检测穿戴(16)>\\ \\ |
||
| 31 | |
||
| 32 | |
||
| 33 | [<notextile>@</notextile>检测穿戴] |
||
| 34 | #if |
||
| 35 | *%{color:green}checkUseItem%* <$scriptParam1> |
||
| 36 | #act |
||
| 37 | [[sendMsg]] 6 <$scriptParam1>装备位穿戴情况--有 |
||
| 38 | #elseAct |
||
| 39 | 2 | tejie | [[sendMsg]] 6 <$scriptParam1>装备位穿戴情况--无 |