SetCustomItemValue » 历史记录 » 版本 1
tejie, 2024-07-02 11:07
1 | 1 | tejie | h4. _*{color:green}setCustomItemValue*_ |
---|---|---|---|
2 | |||
3 | 指定 装备位 自定义属性 值1 赋值 |
||
4 | |||
5 | gee系列兼容 |
||
6 | |||
7 | 标签:命令定义|setCustomItemValue>setCustomItemValue |
||
8 | |||
9 | gom类似命令 |
||
10 | [[changeCustomItemValue]] |
||
11 | |||
12 | *格式* |
||
13 | |命令名 |参数1 |参数2 |参数3 |参数4 | |
||
14 | |setCustomItemValue |装备位id |自定义属性id |操作符 + - = |属性值 | |
||
15 | |||
16 | - |
||
17 | - |
||
18 | |||
19 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
20 | |||
21 | bq. <notextile>[@main]</notextile> |
||
22 | #if |
||
23 | [[checkUseItem]] 1 |
||
24 | #act |
||
25 | goto <notextile>@通用设定</notextile> |
||
26 | #elseAct |
||
27 | [[sendTipsMsg]] 请穿戴武器后测试/scolor=222 |
||
28 | break |
||
29 | <notextile></notextile> |
||
30 | <notextile>[@通用设定]</notextile> |
||
31 | #act |
||
32 | %{color:lightGrey};-颜色设定% |
||
33 | [[setCustomItemAbil]] 1 0 0 254 |
||
34 | <notextile></notextile> |
||
35 | %{color:lightGrey};-显示属性绑定% |
||
36 | [[setCustomItemAbil]] 1 0 1 3 |
||
37 | <notextile></notextile> |
||
38 | %{color:lightGrey};-内部位置设定% |
||
39 | [[setCustomItemAbil]] 1 0 2 1 |
||
40 | <notextile></notextile> |
||
41 | %{color:lightGrey};-百分比类型设定% |
||
42 | [[setCustomItemAbil]] 1 0 3 0 |
||
43 | <notextile></notextile> |
||
44 | %{color:lightGrey};-模块位置设定% |
||
45 | [[setCustomItemAbil]] 1 0 4 1 |
||
46 | <notextile></notextile> |
||
47 | %{color:lightGrey};-赋值% |
||
48 | *{color:green}setCustomItemValue* 1 0 = 10 |
||
49 | print 武器自定义属性0绑定显示及赋值设定完毕 |
||
50 | [[sendTipsMsg]] 武器自定义属性0绑定显示及赋值设定完毕/scolor=222 |
||
51 | |||
52 | - |
||
53 | - |
||
54 | |||
55 | *游戏内显示效果* |
||
56 | |!http://112.124.36.36/redmine/attachments/download/590/%E6%AD%A6%E5%99%A8%E8%87%AA%E5%AE%9A%E4%B9%89%E6%94%BB%E5%87%BB%E5%B1%9E%E6%80%A7%E6%95%88%E6%9E%9C.png!| |