- Joined
- Jul 23, 2009
- Messages
- 1,033
If I set a unit to a variable and the unit dies, will the unit still be saved in the variable until cleared?
For example I set unit X as TheUnit. TheUnit dies and 5 minutes later in the game I have a trigger that uses TheUnit's unit type as a reference, will the information for it still be available? Or upon TheUnit's death do I need to declare this information and save it for later use manually?
For example I set unit X as TheUnit. TheUnit dies and 5 minutes later in the game I have a trigger that uses TheUnit's unit type as a reference, will the information for it still be available? Or upon TheUnit's death do I need to declare this information and save it for later use manually?