项目

一般

简介

Dlg istcList » 历史记录 » 修订 2

修订 1 (tejie, 2024-11-06 16:44) → 修订 2/6 (tejie, 2024-11-06 17:03)

h4. _*%{color:green}<istcList:%*_ 

 对话框道具多选列表。 	

 标签:命令定义|dlg_istcList>dlg_istcList 

 *格式* 
 |命令名    |参数1 |参数2     |参数3      |参数4|参数5|参数6     |参数7    |参数8       |参数9         |参数10        |参数11       |参数12       |参数13|参数14| 
 |istcList|列表id|筛选条件|背包/身上|行数 |列数 |滑动方向|单/多选|单元格边长|单元格背景图|单元格选中图|单元格文本X|单元格文本Y|列表X |列表Y | 

 |参数1|列表id| 
 |^.参数2|stdMode筛选条件,以“<notextile>|</notextile>”分隔 |^.参数2|stdMode筛选条件 
 <notextile>举例:3|4|5|6|10|11</notextile>| <notextile>3|4|5|6|10|11</notextile>| 
 |^.参数3|获得哪里的道具 
 1 背包 
 2 身上| 
 |参数4|道具列表行数| 
 |参数5|道具列表列数| 
 |^.参数6|列表滑动方向 
 0 横向 
 1 纵向| 
 |^.参数7|单选或多选 
 1 单选 
 2 多选| 
 |参数8|单元格边长| 
 |参数9|单元格背景| 
 |参数10|单元格选中图片| 
 |参数11|单元格自定义文本X坐标| 
 |参数12|单元格自定义文本Y坐标| 
 |参数13|列表X坐标| 
 |参数14|列表Y坐标| 

 返回变量 
 |s0|点击列表id| 
 |s1|点击列表格子id| 
 |s2|点击道具实例id| 
 |s3|选中道具stdMode| 
 |s4|选中状态| 
 |s5|选中数量| 

 - 
 - 

 h4. 相关命令 

 _*{color:green}addIstcListTxt*_ 

 指定道具多选列表,指定格子上,添加文本内容。 

 *格式* 
 |命令名          |参数1 |参数2       |参数3     | 
 |addIstcListTxt|列表id|列表格子id|文本内容| 

 - 
 - 

 h4. *%{color:deepskyblue}特戒引擎脚本示例:%* 

 bq. [@示例] 
 #if 
 #act 
 [[goto]] <notextile>@道具多选列表</notextile> 
 <notextile></notextile> 
 <notextile>[@道具多选列表]</notextile> 
 #if 
 #act 
 [[clsMainUi]] 
 #say 
 <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> 
 <notextile><text:随机属性:0:0/@随机文本></notextile> 
 <notextile></notextile> 
 <notextile>[@随机文本]</notextile> 
 [[mov]] s$文本内容 + 
 [[movr]] n$文本内容 1 100 
 [[inc]] s$文本内容 n$文本内容 
 *{color:green}addIstcListTxt* 多选列表1 s1 s$文本内容 
 <notextile></notextile> 
 <notextile>[@打印装备内容]</notextile> 
 #act 
 [[print]] 列表id:<$str(s0)> 
 [[print]] 列表格子id:<$str(s1)> 
 [[print]] 道具实例id:<$str(s2)> 
 [[print]] 道具stdMode:<$str(s3)> 
 [[print]] 选中状态:<$str(s4)> 
 [[print]] 选中格子数:<$str(s5)> 
 <notextile></notextile> 
 #if 
 #act 
 [[equal]] <$str(s4)> 1 
 #act 
 [[itemInBox]] <$str(s2)>