项目

一般

简介

SetCustomItemValueEx » 历史记录 » 版本 1

tejie, 2024-07-02 11:12

1 1 tejie
h4. _*{color:green}setCustomItemValueEx*_
2
3
指定 装备位 自定义属性 值1 值2 值3 赋值
4
每个自定义属性,可以赋3个值
5
6
gee系列兼容
7
8
标签:命令定义|setCustomItemValueEx>setCustomItemValueEx
9
10
11
*格式*
12
|命令名			|参数1		|参数2		|参数3		|参数4		|参数5		|参数6		|
13
|setCustomItemValueEx	|装备位id	|自定义属性id	|操作符 + - =	|值1		|值2		|值3		|
14
15
-
16
-
17
18
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
19
20
bq. <notextile>[@main]</notextile>
21
#if
22
[[checkUseItem]] 1
23
#act
24
goto <notextile>@通用设定</notextile>
25
#elseAct
26
[[sendTipsMsg]] 请穿戴武器后测试/scolor=222
27
break
28
<notextile></notextile>
29
<notextile>[@通用设定]</notextile>
30
#act
31
%{color:lightGrey};-颜色设定%
32
[[setCustomItemAbil]] 1 0 0 254
33
<notextile></notextile>
34
%{color:lightGrey};-显示属性绑定%
35
[[setCustomItemAbil]] 1 0 1 3
36
<notextile></notextile>
37
%{color:lightGrey};-内部位置设定%
38
[[setCustomItemAbil]] 1 0 2 1
39
<notextile></notextile>
40
%{color:lightGrey};-百分比类型设定%
41
[[setCustomItemAbil]] 1 0 3 0
42
<notextile></notextile>
43
%{color:lightGrey};-模块位置设定%
44
[[setCustomItemAbil]] 1 0 4 1
45
<notextile></notextile>
46
%{color:lightGrey};-赋值%
47
*{color:green}setCustomItemValueEx* 1 0 = 10 20 30
48
print 武器自定义属性0绑定显示及赋值设定完毕
49
[[sendTipsMsg]] 武器自定义属性0绑定显示及赋值设定完毕/scolor=222
50
51
-
52
-
53
54
|自定义属性显示设定            |游戏内显示效果                |
55
|!武器自定义属性0值1值2值3.png!|^. !武器值1值2值3显示效果.png!|