I'm trying to make a system that will check if variable "shadow" is on High(1) or Low(2).
If it be High, show normal shadows made by Khas Lighting. If low, it will show a, almost transparent black image over the screen, with a totally transparent circle in the player position.
To do so, i need a common event to check, just once, when i change from a map to another, wich option is being used.
Right Now i'm doing it by a parallel common event, but it will keep checking all the time and probably lag the game a lot for doing so. Autorun works even worse, since it autorun many times that same common event, as the switch that will trigger it is always on.
What can i do? How to check, only once per map change, this variable?
If it be High, show normal shadows made by Khas Lighting. If low, it will show a, almost transparent black image over the screen, with a totally transparent circle in the player position.
To do so, i need a common event to check, just once, when i change from a map to another, wich option is being used.
Right Now i'm doing it by a parallel common event, but it will keep checking all the time and probably lag the game a lot for doing so. Autorun works even worse, since it autorun many times that same common event, as the switch that will trigger it is always on.
What can i do? How to check, only once per map change, this variable?