I am pretty new to this engine and I was wondering whether I understood parallel/autorun events correctly and how well the perform.
So if understand this correctly parallel/autorun events check their conditions repeatedly and indefinitely (as long as the player is in their scope). How often do they do this, every game tick? This just sounds like it would be unbelievably bad performing. I am not saying that this is never the right tool for the job but is seems to me that these type of events should be avoided when ever possible. Which is bad because there a only very few event trigger options in the editor.
So in my case, I would like to create a day night system. I want to progress the time of day after the player performs certain tasks and I want to represent the time of day with a screen tint. However I want the tint to only be applied when the player is outdoors. So my best guess on how to implement this would be to create a parallel common event that checks some variable that tracks whether or not the player is indoor and then tints the screen depending on the status of said variable.
Just thinking about this makes me want to claw my eyes out. The game will check every game tick whether the player is indoors or not just to apply a screen tint when in reality I only need the game to check every time there is a map transition.
So, is there some event trigger that only triggers on map transition? I do not know of one.
If there is none I most certainly won't use parallel events for that. I would rather write a plug-in that intercepts the Transfer Player event command and executes some custom code or some specific event but please tell me I don't have to because there is already a way to trigger events on map transition.
So if understand this correctly parallel/autorun events check their conditions repeatedly and indefinitely (as long as the player is in their scope). How often do they do this, every game tick? This just sounds like it would be unbelievably bad performing. I am not saying that this is never the right tool for the job but is seems to me that these type of events should be avoided when ever possible. Which is bad because there a only very few event trigger options in the editor.
So in my case, I would like to create a day night system. I want to progress the time of day after the player performs certain tasks and I want to represent the time of day with a screen tint. However I want the tint to only be applied when the player is outdoors. So my best guess on how to implement this would be to create a parallel common event that checks some variable that tracks whether or not the player is indoor and then tints the screen depending on the status of said variable.
Just thinking about this makes me want to claw my eyes out. The game will check every game tick whether the player is indoors or not just to apply a screen tint when in reality I only need the game to check every time there is a map transition.
So, is there some event trigger that only triggers on map transition? I do not know of one.
If there is none I most certainly won't use parallel events for that. I would rather write a plug-in that intercepts the Transfer Player event command and executes some custom code or some specific event but please tell me I don't have to because there is already a way to trigger events on map transition.