项目

一般

简介

BagItemIntoBox » 历史记录 » 修订 3

修订 2 (yangdefeng, 2022-05-20 16:11) → 修订 3/9 (yangdefeng, 2022-05-20 16:13)

h4. _*%{color:green}bagItemIntoBox%*_ 

 把背包中的指定物品放入指定itemBox 

 标签:命令定义|bagItemIntoBox 

 *格式* 
 |命令名 		 |参数1 		 |参数2 		 |参数3 		 | 
 |bagItemIntoBox 	 |物品名称 	 |itemBox编号 	 |放入数量 	 | 

 说明: 
 * 参数1 
 物品名称 

 * 参数2 
 OK框编号(0-7) 

 * 参数3 
 放入数量 

 %{color:red}注意: 
 使用该命令放入itembox的物品不会真的扣除背包内的物品, 
 只有进行操作后,例如delBoxItem删除道具,背包才会刷新显示,所以使用时最好不要允许打开背包% 

 h4. *%{color:deepskyblue}特戒引擎脚本示例:%* 

 bq. [<notextile>@</notextile>main] 
 #act 
 [[clsMainUI]] 
 #say 
 <[[dlg_itemBox_|itemBox]]:0:-1:0:0:0:-1:-1:*:tips> 
 <itemBox:1:-1:0:200:0:-1:-1:*:tips> 
 &nbsp; 
 <[[dlg_text_|text]]:放入0:0:400/<notextile>@</notextile>放入0> 
 <text:放入1:200:400/<notextile>@</notextile>放入1> 
 &nbsp; 
 [<notextile>@</notextile>放入0] 
 #act 
 *{color:green}bagItemIntoBox* 粗铁 0 3 
 &nbsp; 
 [<notextile>@</notextile>放入1] 
 #act 
 bagItemIntoBox 麻布 1 5