- Joined
- Jun 27, 2011
- Messages
- 1,864
So heres the trigger
and here's the screenshot ingame:
I don't know whats the problem here, please help
[trigger=Death]Death
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at (Position of (Picked unit))) Equal to Outland - Abyss
((Picked unit) is alive) Equal to True
(Owner of (Picked unit)) Equal to Player 1 (Red)
Then - Actions
Unit - Kill (Picked unit)
Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\Polymorph\PolyMorphDoneGround.mdl
Else - Actions
Do nothing
[/trigger]
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at (Position of (Picked unit))) Equal to Outland - Abyss
((Picked unit) is alive) Equal to True
(Owner of (Picked unit)) Equal to Player 1 (Red)
Then - Actions
Unit - Kill (Picked unit)
Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\Polymorph\PolyMorphDoneGround.mdl
Else - Actions
Do nothing
[/trigger]