Hey, I was wondering if somebody knew of a plugin or a better way to write this.
Problem:
I have my on-screen enemies turn into a parallel event once defeated. Worried about lag as this generates a lot of parallel events.
My current logic:
The game has a clock and counts the days. Once an enemy is defeated it has a self variable (Yep_Self variables) that keeps track of what day it was defeated. Once it has been greater than 7 days the self switch is turned off and the enemy respawns.
My Goal:
To be able to keep the spawning after 8 days but not have the enemy set as a parallel event to check the current day. I could have everything as a global variable for each enemy but since there are 1000's of enemies I would just eat through all my variables.
Problem:
I have my on-screen enemies turn into a parallel event once defeated. Worried about lag as this generates a lot of parallel events.
My current logic:
The game has a clock and counts the days. Once an enemy is defeated it has a self variable (Yep_Self variables) that keeps track of what day it was defeated. Once it has been greater than 7 days the self switch is turned off and the enemy respawns.
My Goal:
To be able to keep the spawning after 8 days but not have the enemy set as a parallel event to check the current day. I could have everything as a global variable for each enemy but since there are 1000's of enemies I would just eat through all my variables.