项目

一般

简介

UpdateBoxItem » 历史记录 » 修订 2

修订 1 (machenhe, 2022-05-10 19:03) → 修订 2/7 (yangdefeng, 2022-05-20 16:07)

_*%{color:green}updateBoxItem%*_ 

 刷新指定itemBox格子,例如删除itemBox格子中的物品后使用updateBoxItem刷新为空的itemBox 

 标签:命令定义|updateBoxItem 

 *格式* 
 |命令名 		 |参数1 		 | 
 |updateBoxItem 	 |itemBox编号 	 | 

 说明: 
 * 参数1: 参数1 
 itemBox编号 

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

 bq. [<notextile>@</notextile>main] 
 #ACT 
 #say 
 <[[dlg_itemBox_|itemBox]]:0:0:0:0:0:40:40:*:tips> <ITEMBOX:0:0:0:0:0:40:40:*:tips> 
 <itemBox:1:0:0:200:0:40:40:*:tips> <ITEMBOX:1:0:0:200:0:40:40:*:tips> 

 bq. <text:放入0:0:400/<notextile>@</notextile>放入0> 
 &nbsp; 
 <[[dlg_text_|text]]:放入0:0:400/<notextile>@</notextile>放入0> 
 <text:放入1:200:400/<notextile>@</notextile>放入1> 
 &nbsp; 
 

 bq. <text:删除0:0:600/<notextile>@</notextile>删除0> 
 <text:删除1:200:600/<notextile>@</notextile>删除1> 
 &nbsp; 
 &nbsp; 
 


 bq. [<notextile>@</notextile>放入0] 
 #act 
 [[bagItemIntoBox]] bagItemIntoBox 粗铁 0 5 
 &nbsp; 
 

 bq. [<notextile>@</notextile>放入1] 
 #act 
 bagItemIntoBox 麻布 1 5 
 &nbsp; 
 

 bq. [<notextile>@</notextile>删除0] 
 #act 
 [[delBoxItem]] delBoxItem 0 5 
 *{color:green}updateBoxItem* updateBoxItem 0 
 &nbsp; 
 

 bq. [<notextile>@</notextile>删除1] 
 #act 
 delBoxItem 1 5 
 updateBoxItem 0