Dlg itemSize » 历史记录 » 版本 7
tejie, 2025-09-23 18:07
1 | 7 | tejie | h4. _*{color:green}<itemSize:*_ |
---|---|---|---|
2 | 4 | tejie | |
3 | 1 | yangdefeng | 设置单元组列表的单元宽高 |
4 | 5 | tejie | 配合 [[dlg_itemList_|<itemList:]] 命令使用 |
5 | 1 | yangdefeng | |
6 | 6 | tejie | 标签:命令定义^<itemSize |
7 | 1 | yangdefeng | |
8 | *格式* |
||
9 | |||
10 | |命令名 |参数1 |参数2 |参数3 | |
||
11 | |itemSize|列表单元宽|列表单元高|单元序号 | |
||
12 | |||
13 | - |
||
14 | - |
||
15 | |||
16 | *说明* |
||
17 | * 参数1:列表单元宽 |
||
18 | |||
19 | * 参数2:列表单元高 |
||
20 | |||
21 | * 参数3:单元序号,可缺省 |
||
22 | |||
23 | * %{color:deepPink}单元组列表中的每个单元,需要包含在“()”中% |
||
24 | |||
25 | 2 | yangdefeng | * *{color:deepPink}#say命令中出现 <itemList: 命令时,#say中<>模块必须以“\”结尾 |
26 | 参见以下脚本示例* |
||
27 | |||
28 | 1 | yangdefeng | - |
29 | - |
||
30 | |||
31 | 3 | tejie | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
32 | 1 | yangdefeng | |
33 | |||
34 | *使用前提1* |
||
35 | 请开启配置开关\"isUseCustomOKPanel\" |
||
36 | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
||
37 | |配置节点|[tjconfig] | |
||
38 | |配置项 |isUseCustomOkPanel=1 | |
||
39 | |||
40 | |||
41 | *使用前提2* |
||
42 | 请配置补丁资源\"lc\",即找到以下配置项,加入 %{color:deeppink}lc% |
||
43 | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
||
44 | |配置节点|[tjconfig] | |
||
45 | |配置项 |patch=aa,bb,lc | |
||
46 | |||
47 | - |
||
48 | - |
||
49 | |||
50 | bq. [<notextile>@</notextile>item初始化] |
||
51 | #act |
||
52 | mov s$item1 ( |
||
53 | inc s$item1 <notextile><</notextile>*{color:green}itemSize*:500:300> |
||
54 | inc s$item1 <[[dlg_itemShow_|itemShow]]:4:0:350:80:1:0> |
||
55 | inc s$item1 <[[dlg_text_|text]]:特戒天魔降临{scolor=150}:30:40> |
||
56 | inc s$item1 <text:奖励预览:340:40> |
||
57 | inc s$item1 <text:开启时间:30:100> |
||
58 | inc s$item1 <text:10~~~:~~~00-11~~~:~~~00:160:100> |
||
59 | inc s$item1 <text:开启条件:30:160> |
||
60 | inc s$item1 <text:60级:160:160> |
||
61 | inc s$item1 <text:击杀天外魔君,想要奖励就来找我{scolor=248}:30:240> |
||
62 | inc s$item1 ) |
||
63 | |
||
64 | mov s$item2 ( |
||
65 | inc s$item2 <itemSize:500:220> |
||
66 | inc s$item2 <[[dlg_img_|img]]:lc_zi:350:40:1:1> |
||
67 | inc s$item2 <text:特戒集字有礼{scolor=150}:30:40> |
||
68 | inc s$item2 <text:开启时间:30:80> |
||
69 | inc s$item2 <text:11~~~:~~~00-12~~~:~~~00:160:80> |
||
70 | inc s$item2 <text:开启条件:30:120> |
||
71 | inc s$item2 <text:3转:160:120> |
||
72 | inc s$item2 <text:圣域双倍押镖,风险与利益共存!!{scolor=248}:30:160> |
||
73 | inc s$item2 ) |
||
74 | |
||
75 | mov s$itemList <$str(s$item1)> |
||
76 | inc s$itemList <$str(s$item2)> |
||
77 | |
||
78 | [<notextile>@</notextile>main] |
||
79 | #act |
||
80 | goto @item初始化 |
||
81 | openMerchantBigDlg ok_di 4 0 0 1 0 0 |
||
82 | #say |
||
83 | 3 | tejie | <[[dlg_panelSize_|panelSize2]]:700:600>*{color:deepPink}\* |
84 | 2 | yangdefeng | <[[dlg_itemList_|itemList]]:<$str(s$itemList)>:活动列表:0:0:1,550:5>*{color:deepPink}\* |