This is kind of an open ended research question, but anyways:
While working in the editor, I noticed that among the tags (like invulnerable, air, missile) there's a "dead" tag.
My question is, what is this tag used for? when units die, do they still exist on the field? is it possible to remove them from the game using triggers? I'm working on a map that contains lots of units, and there are some issues that occur when too many are spawned- I wondered if this could be linked to an amassing of "dead" entities, and if removing them would help.
Units have a death time. Usually it is 0, but if you have units with a higher time, they are dead, but still on the map.
If you remove a lot of units with triggers, they can still be found as dead units for a short while after that. This might happen with units killed by data, too. The game might just limit the amount of units it clears from the game memory and wherever they all were registered to avoid CPU usage spikes.
-> So, you usually filter out dead units.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
This is kind of an open ended research question, but anyways: While working in the editor, I noticed that among the tags (like invulnerable, air, missile) there's a "dead" tag. My question is, what is this tag used for? when units die, do they still exist on the field? is it possible to remove them from the game using triggers? I'm working on a map that contains lots of units, and there are some issues that occur when too many are spawned- I wondered if this could be linked to an amassing of "dead" entities, and if removing them would help.
Units have a death time. Usually it is 0, but if you have units with a higher time, they are dead, but still on the map.
If you remove a lot of units with triggers, they can still be found as dead units for a short while after that. This might happen with units killed by data, too. The game might just limit the amount of units it clears from the game memory and wherever they all were registered to avoid CPU usage spikes.
-> So, you usually filter out dead units.