Warcraft III resources & community, 2003–2006 · archived

3 triggers

4 posts
#1

3 triggers

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?
#2

Re: 3 triggers

blah900I 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.
#3
For #2 i did that but the undead units wont be reviving >< the neutral hostile undead units for some reasons
#4
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))