- Joined
- Apr 5, 2015
- Messages
- 41
- Reaction score
- 8
- First Language
- English
- Primarily Uses
Okay, so in VX Ace, you could use
to manipulate an event's self switch. For example:
would change event 7 on the current map's self switch "C" to "On," since in that code @map_id referenced the current map.
So, my question is, I suppose, two-fold.
1) What is the value identifier for the parameter that references the current running map? (such as @map_id in VX Ace)
2) What is the script call for the command to manipulate (or at least read) an event's self switch boolean?
Thanks for your time, and I hope someone here can help me out! I searched through the .js files, but the self switch functions there within provide VERY little insight on how to manipulate or read them (either that or it's just so nested that I can't quite make heads or tails of it
)
Code:
$game_self_switches[[map, event, 'self_switch']] = value
Code:
$game_self_switches[[@map_id, 7, 'C']] = true
So, my question is, I suppose, two-fold.
1) What is the value identifier for the parameter that references the current running map? (such as @map_id in VX Ace)
2) What is the script call for the command to manipulate (or at least read) an event's self switch boolean?
Thanks for your time, and I hope someone here can help me out! I searched through the .js files, but the self switch functions there within provide VERY little insight on how to manipulate or read them (either that or it's just so nested that I can't quite make heads or tails of it


