项目

一般

简介

Dlg istcList » 历史记录 » 版本 3

tejie, 2024-12-12 13:45

1 1 tejie
h4. _*%{color:green}<istcList:%*_
2
3
对话框道具多选列表。	
4
5
标签:命令定义|dlg_istcList>dlg_istcList
6
7
*格式*
8 3 tejie
|命令名  |参数1 |参数2   |参数3    |参数4|参数5|参数6                     |参数7  |参数8     |参数9       |参数10      |参数11     |参数12     |参数13|参数14|
9
|istcList|列表id|筛选条件|背包/身上|行数 |列数 |滑动方向,屏幕锚点,滑块图片|单/多选|单元格边长|单元格背景图|单元格选中图|单元格文本X|单元格文本Y|列表X |列表Y |
10
11
-
12
-
13
14
h4. *说明*
15 1 tejie
16
|参数1|列表id|
17 2 tejie
|^.参数2|stdMode筛选条件,以“<notextile>|</notextile>”分隔
18
<notextile>举例:3|4|5|6|10|11</notextile>|
19 1 tejie
|^.参数3|获得哪里的道具
20
1 背包
21
2 身上|
22
|参数4|道具列表行数|
23
|参数5|道具列表列数|
24
|^.参数6|列表滑动方向
25
0 横向
26
1 纵向|
27
|^.参数7|单选或多选
28
1 单选
29
2 多选|
30
|参数8|单元格边长|
31
|参数9|单元格背景|
32
|参数10|单元格选中图片|
33
|参数11|单元格自定义文本X坐标|
34
|参数12|单元格自定义文本Y坐标|
35
|参数13|列表X坐标|
36
|参数14|列表Y坐标|
37
38
返回变量
39
|s0|点击列表id|
40
|s1|点击列表格子id|
41
|s2|点击道具实例id|
42
|s3|选中道具stdMode|
43
|s4|选中状态|
44
|s5|选中数量|
45
46
-
47
-
48
49
h4. 相关命令
50
51
_*{color:green}addIstcListTxt*_
52
53
指定道具多选列表,指定格子上,添加文本内容。
54
55
*格式*
56
|命令名        |参数1 |参数2     |参数3   |
57
|addIstcListTxt|列表id|列表格子id|文本内容|
58
59
-
60
-
61
62
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
63
64
bq. [@示例]
65
#if
66
#act
67
[[goto]] <notextile>@道具多选列表</notextile>
68
<notextile></notextile>
69
<notextile>[@道具多选列表]</notextile>
70
#if
71
#act
72
[[clsMainUi]]
73
#say
74
<notextile><</notextile>*{color:green}istcList*:多选列表1:5|6|10|11:1:5:7:1:1:100:wupinkuang:frien_zhuangshikuang_select_img:0:0:200:100/<notextile>@打印点击信息></notextile>
75
<notextile><text:随机属性:0:0/@随机文本></notextile>
76
<notextile></notextile>
77
<notextile>[@随机文本]</notextile>
78
[[mov]] s$文本内容 +
79
[[movr]] n$文本内容 1 100
80
[[inc]] s$文本内容 n$文本内容
81
*{color:green}addIstcListTxt* 多选列表1 s1 s$文本内容
82
<notextile></notextile>
83
<notextile>[@打印装备内容]</notextile>
84
#act
85
[[print]] 列表id:<$str(s0)>
86
[[print]] 列表格子id:<$str(s1)>
87
[[print]] 道具实例id:<$str(s2)>
88
[[print]] 道具stdMode:<$str(s3)>
89
[[print]] 选中状态:<$str(s4)>
90
[[print]] 选中格子数:<$str(s5)>
91
<notextile></notextile>
92
#if
93
#act
94
[[equal]] <$str(s4)> 1
95
#act
96
[[itemInBox]] <$str(s2)>