SetCustomItemTextColor » 历史记录 » 版本 1
tejie, 2024-07-02 11:19
1 | 1 | tejie | h4. _*{color:green}setCustomItemTextColor*_ |
---|---|---|---|
2 | |||
3 | 指定装备位 自定义属性 头部区域 文本颜色赋值 |
||
4 | |||
5 | gee系列兼容 |
||
6 | |||
7 | 标签:命令定义|setCustomItemTextColor>setCustomItemTextColor |
||
8 | |||
9 | *格式* |
||
10 | |命令名 |参数1 |参数2 | |
||
11 | |setCustomItemTextColor |装备位id |文本颜色 | |
||
12 | |||
13 | - |
||
14 | - |
||
15 | |||
16 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
17 | |||
18 | bq. <notextile>[@main]</notextile> |
||
19 | #if |
||
20 | [[checkUseItem]] 1 |
||
21 | #say |
||
22 | <notextile><Text:自定义区域头部文本:0:0/@@inputString1(请输入自定义区域头部文本)></notextile> |
||
23 | <notextile><Text:自定义区域头部文本颜色:0:64/@@inPutInteger1(请输入数字0~255)></notextile> |
||
24 | #elseAct |
||
25 | [[sendTipsMsg]] 请穿戴武器后测试/scolor=222 |
||
26 | <notextile></notextile> |
||
27 | <notextile>[@InputString1]</notextile> |
||
28 | #act |
||
29 | %{color:lightGrey};支持换行 \% |
||
30 | [[setCustomItemText]] 1 S1 |
||
31 | [[sendTipsMsg]] 武器描述头部文本设定完毕----<notextile><$str(S1)>/scolor=222</notextile> |
||
32 | [[print]] 武器描述头部文本设定完毕----<notextile><$str(S1)></notextile> |
||
33 | <notextile></notextile> |
||
34 | <notextile>[@inPutInteger1]</notextile> |
||
35 | #act |
||
36 | *{color:green}setCustomItemTextColor* 1 N1 |
||
37 | [[sendTipsMsg]] 武器描述头部文本颜色<notextile><$str(N1)>/scolor=222</notextile> |
||
38 | [[print]] 武器描述头部文本颜色<notextile><$str(N1)></notextile> |
||
39 | |||
40 | - |
||
41 | - |
||
42 | |||
43 | |!http://112.124.36.36/redmine/attachments/download/595/%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B1%9E%E6%80%A7%E5%A4%B4%E9%83%A8%E6%9C%AC%E6%96%87%E6%95%88%E6%9E%9C.png!| |