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