so i’d like to ask how you go about setting a variable in ORK rpg kit, and then checking it from within another script.
Here’s what i’m doing, I have a map system (kgf map system) that displays a minimap on screen. I don’t want the minimap shown all of the time (not in battles, not in the menu screens) but shown in the field.
So of course what i need to do when a battle starts in ork, is to make a variable… say … mapIsOn and set to false when in battle or menu mode, but true in the field. So when the variable is set to false, i want to be able to check that in a script attached to the map that keeps the map’s gameobject “active”. when the battle comes up and variable it set to false, I want to de-activate the game map object, and then activate again when the battle ends, or when you exit from menu mode, etc.
any help on this? Thanks, I know this isn’t exactly the ork forums, but it’s impossible to get an answer over there… and it’s unity related also ![]()