smileyguyx
Member
- Reaction score
- 1
I want to make a trigger so when unit A dies Unit B spawns in its place instantly. How'd i do that?
Trigger:
- Events
- Unit - A unit dies
- Conditions
- (Dying unit) equal to <Unit A>
- Actions
- Set TempPoint = (position of (Dying unit))
- Create 1 <Unit B> at TempPoint for (owner of (Dying unit)) facing default degrees
- custom script: call RemoveLocation(udg_TempPoint)
wouldnt the corpse vanish if replaced? what if he wants to keep it?