项目

一般

简介

BagItemIntoBox » 历史记录 » 版本 4

yangdefeng, 2022-05-20 16:14

1 3 yangdefeng
h4. _*%{color:green}bagItemIntoBox%*_
2 1 machenhe
3
把背包中的指定物品放入指定itemBox
4
5
标签:命令定义|bagItemIntoBox
6
7
*格式*
8
|命令名		|参数1		|参数2		|参数3		|
9
|bagItemIntoBox	|物品名称	|itemBox编号	|放入数量	|
10
11
说明:
12
* 参数1
13
物品名称
14
15
* 参数2
16
OK框编号(0-7)
17
18
* 参数3
19
放入数量
20
21
%{color:red}注意:
22 2 yangdefeng
使用该命令放入itembox的物品不会真的扣除背包内的物品,
23
只有进行操作后,例如delBoxItem删除道具,背包才会刷新显示,所以使用时最好不要允许打开背包%
24 1 machenhe
25 3 yangdefeng
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
26 1 machenhe
27
bq. [<notextile>@</notextile>main]
28 3 yangdefeng
#act
29
[[clsMainUI]]
30 1 machenhe
#say
31 4 yangdefeng
<[[dlg_itemBox_|itemBox]]:0:-1:-100001:0:0:-1:-1:*:tips>
32
<itemBox:1:-1:-100001:200:0:-1:-1:*:tips>
33 2 yangdefeng
&nbsp;
34
<[[dlg_text_|text]]:放入0:0:400/<notextile>@</notextile>放入0>
35 1 machenhe
<text:放入1:200:400/<notextile>@</notextile>放入1>
36 2 yangdefeng
&nbsp;
37
[<notextile>@</notextile>放入0]
38 1 machenhe
#act
39 2 yangdefeng
*{color:green}bagItemIntoBox* 粗铁 0 3
40
&nbsp;
41
[<notextile>@</notextile>放入1]
42 1 machenhe
#act
43
bagItemIntoBox 麻布 1 5