3 triggers

Status
Not open for further replies.
Level 4
Joined
Aug 12, 2004
Messages
76
I am sorry i couldnt find a place to put this question so i will just put it here.

1. To create a pushing spell you need the Move Unit (instantly) trigger right? so how does that actually work?

2. I made a trigger so that whatever neutral hostile type unit dies gets revived but the undead units wont revive... how can i fix this?

3. If i turn the triggers into scripts does the map load faster?
 
blah900 said:
I am sorry i couldnt find a place to put this question so i will just put it here.

1. To create a pushing spell you need the Move Unit (instantly) trigger right? so how does that actually work?

2. I made a trigger so that whatever neutral hostile type unit dies gets revived but the undead units wont revive... how can i fix this?

3. If i turn the triggers into scripts does the map load faster?

For #1) Yes, you use that trigger, but it has to be
Move unit instantly - Then theres one with Move Unit with Polar offset, use that one and make it to: Move unit(Moving unit here) to Position of(Moving Unit Here) Off set by Distance between (Casting Unit) and (Moving Unit)/****(The *** can be any number) towards Facing Caster.
=====================================================
#2)For this one, use the GUI format Event - A Unit Dies. THen for Condition, set it to: Owner of Dying Unit Equal to Neutral hostile.
For actions, make it: Create 1 (Unit-Type(Of Dying Unit)) at position of dying unit facing Point or Angle.
=====================================================
#3 I have no idea if this is true.
 
For #2 i did that but the undead units wont be reviving >< the neutral hostile undead units for some reasons
 
Try to create a new trigger like this:
events: unit - a unit owned by neutral hostile dies
conditions: (race of (dying unit)) equal to undead
actions: wait (optional). Unit - create 1 (unit type of (dying unit)) for (owner of (dying unit)) at (position of (dying unit))
 
Status
Not open for further replies.
Back
Top