- Joined
- Dec 24, 2022
- Messages
- 3
Hey folks,
Long-time user, first-time poster. I currently have within my Map a trigger which respawns all Creep units within the map once the total number of Creeps left is equal to or below 80 (this is triggered via Real_CreepTotalNumber becomes equal to or less than 80 ... 143 Creep units are spawned upon map initialisation). The way I track how many Creep units are dead / alive is by removing Creep units from UnitGroup_Creeps upon death and running a p/s Event to set UnitGroup_Creeps to all alive units owned by the Creep Players (10 - 16). I currently having a transmission informing me of both the Real and Integer variables and they work perfectly for a few minutes before they both return to zero for no reason. At first I thought this was because I had reached a cap on either variable, but each transmission I have received has never exceed 143 and perfectly logs killed units (e.g., when I kill a Creep unit the next transmission will show 142 versus 143). Obviously this is affecting my creep respawn system as it is dependent on the Real variable dropping from 143 to 80 and then triggering the respawn, but it cannot do so when each variable is permanently set to 0. I can provide screenshots of each trigger if necessary. Thanks in advance.
Long-time user, first-time poster. I currently have within my Map a trigger which respawns all Creep units within the map once the total number of Creeps left is equal to or below 80 (this is triggered via Real_CreepTotalNumber becomes equal to or less than 80 ... 143 Creep units are spawned upon map initialisation). The way I track how many Creep units are dead / alive is by removing Creep units from UnitGroup_Creeps upon death and running a p/s Event to set UnitGroup_Creeps to all alive units owned by the Creep Players (10 - 16). I currently having a transmission informing me of both the Real and Integer variables and they work perfectly for a few minutes before they both return to zero for no reason. At first I thought this was because I had reached a cap on either variable, but each transmission I have received has never exceed 143 and perfectly logs killed units (e.g., when I kill a Creep unit the next transmission will show 142 versus 143). Obviously this is affecting my creep respawn system as it is dependent on the Real variable dropping from 143 to 80 and then triggering the respawn, but it cannot do so when each variable is permanently set to 0. I can provide screenshots of each trigger if necessary. Thanks in advance.