ReturnBoxItem » 历史记录 » 修订 3
修订 2 (yangdefeng, 2022-05-20 17:23) → 修订 3/4 (yangdefeng, 2022-05-20 17:24)
h4. _*%{color:green}returnBoxItem%*_
指定itemBox中的物品返回到背包
标签:命令定义|returnBoxItem
*格式*
|命令名 |参数1 |
|returnBoxItem |自定义道具栏编号 |
说明:
* 参数1: 自定义道具栏编号(0-7)
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
bq. [<notextile>@</notextile>main] [<notextile>@</notextile>道具返回背包]
#act
#say
<[[dlg_itemBox_|itemBox]]:0:-1:-1:0:0:-1:-1:*:tips> <[[dlg_itemBox_|itemBox]]:0:-1:0:0:0:40:40:*:tips>
<itemBox:1:-1:-1:200:0:-1:-1:*:tips> <itemBox:1:-1:0:200:0:40:40:*:tips>
bq. <[[dlg_text_|text]]:退回0:0:400/<notextile>@</notextile>退回0>
<text:退回1:200:400/<notextile>@</notextile>退回1>
bq. [<notextile>@</notextile>退回0]
#act
*{color:green}returnBoxItem* 0
bq. [<notextile>@</notextile>退回1]
#act
returnBoxItem 1