THE NVL Maker

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

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

[复制链接]

4

主题

30

帖子

0

精华

游戏开发者

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

使用道具 举报

16

主题

982

帖子

0

精华

管理员

Rank: 9Rank: 9Rank: 9

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

使用道具 举报

4

主题

30

帖子

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, 2024-3-29 00:50 , Processed in 0.008898 second(s), 19 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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