hi can anyone make a script where tilesets can have notes that switch switches on or off. and can keep the state of the switch?
or if there is one please point me in the right direction. i know there are change switches on maps but im looking for this one please?
Code:
* @help
* This plugin activates switches based on notetags in the tileset notes for the current map.
*
* To set up, create notetags in the tileset notes in the following format:
* <TileSwitch: x, on, keep>
* or
* <TileSwitch: x, on, dontkeep>
* or
* <TileSwitch: x, off, keep>
* or
* <TileSwitch: x, off, dontkeep>
*
* Where 'x' is the switch ID to activate or deactivate. Use 'keep' to retain the switch state when moving to the next map, or 'dontkeep' to not retain the switch state.
*/
or if there is one please point me in the right direction. i know there are change switches on maps but im looking for this one please?