• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

pause/unpause

Status
Not open for further replies.
Level 2
Joined
Jan 17, 2009
Messages
15
hi guys... nice to meet u all... im from brazil and what i most like in WE is trigger skills, i also like doing commands such as -ar, -random, etc.

i also need a help, when i use the trigger below, the unit is paused but its not unpaused a few seconds after, can someone pls help me? thx.

here is the trigger:

skill
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Feral hunt
Actions
Unit - Pause (Target unit of ability being cast)
Special Effect - Create a special effect attached to the chest of (Target unit of ability being cast) using Abilities\Spells\Human\AerialShackles\AerialShacklesTarget.mdl
Unit - Create 1 Phanter locust for (Triggering player) at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 0.00 degrees) facing (Facing of (Target unit of ability being cast)) degrees
Unit - Create 1 Phanter locust for (Triggering player) at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 90.00 degrees) facing (Facing of (Target unit of ability being cast)) degrees
Unit - Create 1 Phanter locust for (Triggering player) at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 180.00 degrees) facing (Facing of (Target unit of ability being cast)) degrees
Unit - Create 1 Phanter locust for (Triggering player) at ((Position of (Target unit of ability being cast)) offset by 100.00 towards 270.00 degrees) facing (Facing of (Target unit of ability being cast)) degrees
Unit Group - Pick every unit in (Units of type Phanter locust) and do (Unit - Order (Picked unit) to Attack (Target unit of ability being cast))
Wait (0.75 x (Real((Level of Feral hunt for (Triggering unit))))) seconds
Special Effect - Destroy (Last created special effect)
Unit Group - Pick every unit in (Units of type Phanter locust) and do (Unit - Remove (Picked unit) from the game)
Unit - Unpause (Target unit of ability being cast)


obs: the unit im creating is a copy of the caster... but whitout the skills and it has locust and is invunerable, and sorry for my bad english :bored:.
 
Last edited:
Status
Not open for further replies.
Top