项目

一般

简介

BagItemIntoBox » 历史记录 » 版本 2

yangdefeng, 2022-05-20 16:11

1 1 machenhe
_*%{color:green}bagItemIntoBox%*_
2
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 2 yangdefeng
*%{color:deepskyblue}特戒引擎脚本示例:%*
26 1 machenhe
27
bq. [<notextile>@</notextile>main]
28
#say
29 2 yangdefeng
<[[dlg_itemBox_|itemBox]]:0:-1:0:0:0:-1:-1:*:tips>
30
<itemBox:1:-1:0:200:0:-1:-1:*:tips>
31
&nbsp;
32
<[[dlg_text_|text]]:放入0:0:400/<notextile>@</notextile>放入0>
33 1 machenhe
<text:放入1:200:400/<notextile>@</notextile>放入1>
34 2 yangdefeng
&nbsp;
35
[<notextile>@</notextile>放入0]
36 1 machenhe
#act
37 2 yangdefeng
*{color:green}bagItemIntoBox* 粗铁 0 3
38
&nbsp;
39
[<notextile>@</notextile>放入1]
40 1 machenhe
#act
41
bagItemIntoBox 麻布 1 5