Is there a script command line to turn On switches that aren't sequential? (Otherwise I would use the batch function)
Command to turn on multiple non-sequential switches?
RPG Maker VXAce Support[1,3,5,7,11].each {|id| $game_switches[id] = true} #Turn on
[1,3,5,7,11].each {|id| $game_switches[id] = false} #Turn off
Where [1,3,5,7,11] is a list of switch IDs. Good luck! :ewink:
[1,3,5,7,11].each {|id| $game_switches[id] = false} #Turn off
Where [1,3,5,7,11] is a list of switch IDs. Good luck! :ewink:
Perfect, thanks!
Thread closed IgnoreMe
Original thread: https://forums.rpgmakerweb.com/threads/command-to-turn-on-multiple-non-sequential-switches.75438/