ItemInBox » 历史记录 » 版本 2
tejie, 2024-11-06 16:25
| 1 | 1 | tejie | h4. _*%{color:green}itemInBox%*_ |
|---|---|---|---|
| 2 | |||
| 3 | 指定实例id道具放入指定itemBox |
||
| 4 | |||
| 5 | 标签:命令定义|itemInBox>itemInBox |
||
| 6 | |||
| 7 | *格式:* |
||
| 8 | |命令名 |参数1 |参数2 | |
||
| 9 | |itemInBox|道具实例id |itemBox id | |
||
| 10 | |||
| 11 | *说明:* |
||
| 12 | |参数1|道具实例id ItemMakeIndex| |
||
| 13 | |^.参数2|itemBox id |
||
| 14 | 缺省则放入itemBox 0| |
||
| 15 | |||
| 16 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
| 17 | |||
| 18 | bq. [@示例] |
||
| 19 | #if |
||
| 20 | #act |
||
| 21 | [[goto]] <notextile>@道具多选列表</notextile> |
||
| 22 | <notextile></notextile> |
||
| 23 | <notextile>[@道具多选列表]</notextile> |
||
| 24 | #if |
||
| 25 | #act |
||
| 26 | [[clsMainUi]] |
||
| 27 | #say |
||
| 28 | <notextile><istcList:多选列表1:5|6|10|11:1:5:7:1:1:100:wupinkuang:frien_zhuangshikuang_select_img:0:0:200:100/@打印点击信息></notextile> |
||
| 29 | 2 | tejie | <notextile><text:随机属性:0:0/@随机文本></notextile> |
| 30 | 1 | tejie | <notextile></notextile> |
| 31 | <notextile>[@随机文本]</notextile> |
||
| 32 | [[mov]] s$文本内容 + |
||
| 33 | [[movr]] n$文本内容 1 100 |
||
| 34 | [[inc]] s$文本内容 n$文本内容 |
||
| 35 | [[addIstcListTxt]] 多选列表1 s1 s$文本内容 |
||
| 36 | <notextile></notextile> |
||
| 37 | <notextile>[@打印装备内容]</notextile> |
||
| 38 | #act |
||
| 39 | [[print]] 列表id:<$str(s0)> |
||
| 40 | [[print]] 列表格子id:<$str(s1)> |
||
| 41 | [[print]] 道具实例id:<$str(s2)> |
||
| 42 | [[print]] 道具stdMode:<$str(s3)> |
||
| 43 | [[print]] 选中状态:<$str(s4)> |
||
| 44 | [[print]] 选中格子数:<$str(s5)> |
||
| 45 | <notextile></notextile> |
||
| 46 | #if |
||
| 47 | #act |
||
| 48 | [[equal]] <$str(s4)> 1 |
||
| 49 | #act |
||
| 50 | 2 | tejie | *{color:green}itemInBox* <$str(s2)> |