I am making a passive ability, which causes AOE damage equal to 100% of the unit's (Engineer) health once it dies.
However I don't think I've made the wait part of the trigger right. I think that if I use the Custom_Position and Custom_Effect variables in another trigger with a wait part as well, that might cause the two to bug. But I don't know how else I am supposed to create the wait part. Can someone explain this to me?
However I don't think I've made the wait part of the trigger right. I think that if I use the Custom_Position and Custom_Effect variables in another trigger with a wait part as well, that might cause the two to bug. But I don't know how else I am supposed to create the wait part. Can someone explain this to me?
- Unit - Engineer 0027 <gen> Dies
- Set Custom_Position = (Position of Engineer 0027 <gen>)
- Unit - Cause Engineer 0027 <gen> to damage circular area after 3.00 seconds of radius 600.00 at Custom_Position, dealing (Max life of Engineer 0027 <gen>) damage of attack type Hero and damage type Normal
- Wait 2.90 seconds
- Special Effect - Create a special effect at Custom_Position using NuclearExplosion.mdx
- Set Custom_Effect = (Last created special effect)
- Wait 10.00 seconds
- Special Effect - Destroy Custom_Effect
- Custom script: call RemoveLocation (udg_Custom_Position)