找回密码
 注册
搜索
查看: 20695|回复: 2

[常见问题] 如何让某些选项满足条件才能选择

[复制链接]

4

主题

26

回帖

0

精华

游戏开发者

积分
30
发表于 2021-7-2 00:31:09 | 显示全部楼层 |阅读模式
换句话说就是剧情锁,明明能看见某个选项但不能选

17

主题

1129

回帖

0

精华

管理员

积分
1167
发表于 2021-7-2 11:10:54 | 显示全部楼层
记得BKE有disable sprite的api。修改selbutton宏,根据条件照常创建选项,不满足的disable就行。

4

主题

26

回帖

0

精华

游戏开发者

积分
30
 楼主| 发表于 2021-7-5 14:57:13 | 显示全部楼层
本帖最后由 yeziqie 于 2021-7-5 15:48 编辑

最终解决办法:修改macro_sel,@macro name="selbutton" text storage target exp normal over on locked

...
[buttonex index=index idle=10001 hover=10002 click=10003 onclick=sEvent("*clsel",exp,"callback",true,"event_end",btndic) enterse=dic.enterse clickse=dic.clickse cond="locked==void || locked==false"]
[buttonex index=index idle=10001 hover=10002 click=10003 enterse=dic.enterse clickse=dic.errse cond="locked==true"]


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

本版积分规则

手机版|Archiver|nvlmaker

GMT+8, 2026-10-29 06:08 , Processed in 0.026580 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表