じ☆ve冰风 发表于 2026-7-6 20:42:47

Script call to change self switches

Hello all.

Here is the script call if anyone needs to change self switches. Including self switches on other maps:

Spoiler$gameSelfSwitches.setValue(, true)




You put the numbers in for MapID and Event ID.'A' is just whatever self switch you are turning on. If you want to turn it off then change true to false.

(This code is the same as in MV).


本贴来自国际rpgmaker官方论坛作者:BrentBAM处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/script-call-to-change-self-switches.126474/
页: [1]
查看完整版本: Script call to change self switches