- Joined
- Feb 23, 2008
- Messages
- 587
My trigger is suppose to hurt the player that gets hit by the missile + have in effect that gos off on them.
How do i do the action part at the bottom.
Trigger:
Event:
Unit - A unit comes within 30.00 of Purple 0008 <gen>
Unit - A unit comes within 30.00 of Purple 0005 <gen>
Unit - A unit comes within 30.00 of Purple 0003 <gen>
Condtion :
(Unit-type of (Triggering unit)) Equal to Missle
Action:
If the purple 0008 was/is within 30 of a unit(missle) then
x = 0
If the purple 0005 was/is within 30 of a unit(missle) then
x = 1
If the purple 0003 was/is within 30 of a unit(missle) then
x = 2
Note: its not triggering unit. because the triggering unit is the missile.
I asked this question in different section and got a answer that i
thought Would solve it. but it wont. so if anyone knows how to do the
event part that would sweet.
Calestion
How do i do the action part at the bottom.
Trigger:
Event:
Unit - A unit comes within 30.00 of Purple 0008 <gen>
Unit - A unit comes within 30.00 of Purple 0005 <gen>
Unit - A unit comes within 30.00 of Purple 0003 <gen>
Condtion :
(Unit-type of (Triggering unit)) Equal to Missle
Action:
If the purple 0008 was/is within 30 of a unit(missle) then
x = 0
If the purple 0005 was/is within 30 of a unit(missle) then
x = 1
If the purple 0003 was/is within 30 of a unit(missle) then
x = 2
Note: its not triggering unit. because the triggering unit is the missile.
I asked this question in different section and got a answer that i
thought Would solve it. but it wont. so if anyone knows how to do the
event part that would sweet.
Calestion