乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
楼主: Vismut65

[编程交流] 动作互动程序

[复制链接]

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-6 09:28:15 | 显示全部楼层
You can include a mode_tile statement within the action_tile statement of the first popup_list.
 
However, a popup_list will always have a selection (even before the user has chosen something an item will be shown), so the behaviour you are looking to achieve may not be intuitive for the user.
 
Lee
回复

使用道具 举报

11

主题

28

帖子

17

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
55
发表于 2022-7-6 09:33:07 | 显示全部楼层
Tanks Lee for your anwer,
 
I have one more issue. I want to have different contents in two popup_lists "mylist20" and "mylist21" depending of chooise "sp" or "tp". I have wrote a code see below but it doesnt work. Can you help me?.
 
  1. (action_tile "sp" (progn (action_tile "str_s2" "(FillPopupList1 "mylist20" mylist1)(FillPopupList2 "mylist21" mylist70)") (action_tile "str_m2" "(FillPopupList1 "mylist20" mylist2)(FillPopupList2 "mylist21" mylist71)") (action_tile "str_l2" "(FillPopupList1 "mylist20" mylist3)(FillPopupList2 "mylist21" mylist72)") (action_tile "str_s3" "(FillPopupList1 "mylist20" mylist4)(FillPopupList2 "mylist21" mylist73)")  (action_tile "str_m3" "(FillPopupList1 "mylist20" mylist5)(FillPopupList2 "mylist21" mylist74)")  (action_tile "str_l3" "(FillPopupList1 "mylist20" mylist6)(FillPopupList2 "mylist21" mylist75)") ))(action_tile "tp" (progn (action_tile "str_s2" "(FillPopupList1 "mylist20" mylist6)(FillPopupList2 "mylist21" mylist76)") (action_tile "str_m2" "(FillPopupList1 "mylist20" mylist7)(FillPopupList2 "mylist21" mylist77)") (action_tile "str_l2" "(FillPopupList1 "mylist20" mylist8)(FillPopupList2 "mylist21" mylist78)") (action_tile "str_s3" "(FillPopupList1 "mylist20" mylist9)(FillPopupList2 "mylist21" mylist79)")  (action_tile "str_m3" "(FillPopupList1 "mylist20" mylist10)(FillPopupList2 "mylist21" mylist80)")  (action_tile "str_l3" "(FillPopupList1 "mylist20" mylist11)(FillPopupList2 "mylist21" mylist81)") ))
 
/Dan
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-6 09:40:14 | 显示全部楼层
action_tile expressions should be strings, but you are nesting action_tile statements within action_tile statements...
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-7 09:13 , Processed in 1.032378 second(s), 56 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表