项目

一般

简介

Dlg itemSize » 历史记录 » 版本 2

yangdefeng, 2022-05-07 18:31

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 2 yangdefeng
* *{color:deepPink}#say命令中出现 <itemList: 命令时,#say中<>模块必须以“\”结尾
25
参见以下脚本示例*
26
27 1 yangdefeng
-
28
-
29
30
*%{color:deepskyblue}特戒引擎脚本示例:%*
31
32
33
*使用前提1*
34
请开启配置开关\"isUseCustomOKPanel\"
35
|配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt	|
36
|配置节点|[tjconfig]					|
37
|配置项  |isUseCustomOkPanel=1				|
38
39
40
*使用前提2*
41
请配置补丁资源\"lc\",即找到以下配置项,加入 %{color:deeppink}lc%
42
|配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt	|
43
|配置节点|[tjconfig]					|
44
|配置项  |patch=aa,bb,lc				|
45
46
-
47
-
48
49
bq. [<notextile>@</notextile>item初始化]
50
#act
51
mov s$item1 (
52
inc s$item1 <notextile><</notextile>*{color:green}itemSize*:500:300>
53
inc s$item1 <[[dlg_itemShow_|itemShow]]:4:0:350:80:1:0>
54
inc s$item1 <[[dlg_text_|text]]:特戒天魔降临{scolor=150}:30:40>    
55
inc s$item1 <text:奖励预览:340:40>
56
inc s$item1 <text:开启时间:30:100>
57
inc s$item1 <text:10~~~:~~~00-11~~~:~~~00:160:100>
58
inc s$item1 <text:开启条件:30:160>
59
inc s$item1 <text:60级:160:160>
60
inc s$item1 <text:击杀天外魔君,想要奖励就来找我{scolor=248}:30:240>
61
inc s$item1 )
62
&nbsp;
63
mov s$item2 (
64
inc s$item2 <itemSize:500:220>
65
inc s$item2 <[[dlg_img_|img]]:lc_zi:350:40:1:1>
66
inc s$item2 <text:特戒集字有礼{scolor=150}:30:40>    
67
inc s$item2 <text:开启时间:30:80>
68
inc s$item2 <text:11~~~:~~~00-12~~~:~~~00:160:80>
69
inc s$item2 <text:开启条件:30:120>
70
inc s$item2 <text:3转:160:120>
71
inc s$item2 <text:圣域双倍押镖,风险与利益共存!!{scolor=248}:30:160>
72
inc s$item2 )
73
&nbsp;
74
mov s$itemList <$str(s$item1)>
75
inc s$itemList <$str(s$item2)>
76
&nbsp;
77
[<notextile>@</notextile>main]
78
#act
79
goto @item初始化
80
openMerchantBigDlg ok_di 4 0 0 1 0 0
81
#say
82 2 yangdefeng
<[[dlg_panelSize_|panelSize]]:700:600>*{color:deepPink}\*
83
<[[dlg_itemList_|itemList]]:<$str(s$itemList)>:活动列表:0:0:1,550:5>*{color:deepPink}\*