设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 543|回复: 3
打印 上一主题 下一主题

[有事请教] 官方dlc包selfVariable插件问题

[复制链接]

Lv1.梦旅人

梦石
0
星屑
179
在线时间
52 小时
注册时间
2023-7-14
帖子
30
跳转到指定楼层
1
发表于 2023-7-23 20:07:03 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有帐号?注册会员

x
Acquisition of extended self switch
Example: To get ID3's extended self switch for ID2's event of ID1's map
$gameSwitches.exSelfSwitchValue([1, 2, 3]);

・Extended self switch settings
Example: When setting ON for the ID3 extended self switch of the ID2 event in the ID1 map
$gameVariables.setExSelfSwitchValue([1, 2, 3], true);
这个确实可以让一个普通开关变成独立开关,用插件命令各方面没有问题,但是用官方说明的插件使用方法里的脚本就一直出错
$gameVariables.setExSelfSwitchValue([1, 2, 3], true) 比如这个开启1地图2事件的3号开关,一触发就显示Invalid or unexpected token怎么回事。有没有大佬知道,求助,呜呜

Lv1.梦旅人

梦石
0
星屑
179
在线时间
52 小时
注册时间
2023-7-14
帖子
30
2
 楼主| 发表于 2023-7-23 20:14:33 | 只看该作者
$gameVariables.setExSelfSwitchValue([1, 10, 15], true)
VM192:1 Uncaught TypeError: $gameVariables.setExSelfSwitchValue is not a function
    at <anonymous>:1:16
这个是在控制台执行的命令,测试出现的是这些,呜呜求助

点评

$gameVariables.setExSelfSwitchValue is not a function 是因为你应该写 $gameSwitches.setExSelfSwitchValue() 官方说明里写的是错的呢  发表于 2023-7-24 11:24
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
179
在线时间
52 小时
注册时间
2023-7-14
帖子
30
3
 楼主| 发表于 2023-7-29 15:01:05 | 只看该作者
野原新之助参见 发表于 2023-7-23 20:14
$gameVariables.setExSelfSwitchValue([1, 10, 15], true)
VM192:1 Uncaught TypeError: $gameVariables.se ...

谢谢大佬
回复 支持 反对

使用道具 举报

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

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-5-24 22:19

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

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