- Joined
- Feb 20, 2007
- Messages
- 843
-
PlanetDeath
-
Events
- Unit - A unit Dies
-
Conditions
- (Unit-type of (Dying unit)) Equal to Habited Planet
-
Actions
- Environment - Remove Blight for (Owner of (Dying unit)) from (Position of (Dying unit)) to a radius of 200.00
-
Unit Group - Pick every unit in (Units within 200.00 of (Position of (Dying unit)) matching (((Unit-type of (Matching unit)) Not equal to Habited Planet) and (((Unit-type of (Matching unit)) Not equal to Planet) and (((Matching unit) is A structure) Equal to True)))) and do (Actions)
-
Loop - Actions
- Unit - Kill (Picked unit)
-
Loop - Actions
-
Events
NOTE: The Habited Planet is like a haunted gold mine and i'm wondering is it because when it dies its replaced whit a planet, and the daying units is removed from ingame ? The problem is that the first action works, and it uses position of daying unit...
EDIT: I made it by adding a trigger that checks every 2 seconds on every building is it close to a planet, and if not kill it. It worked that way, but i dont want to use more triggers then i need... So help is still wellcome
Last edited: