hey there i have a problem with this simple trigger, its like a war stump that knocks back units. Well it works if i use a targeted spell on a single unit but it doesn't work for multiple units, anyways here is my trigger and hope u tell me whats wrong with it .
basic
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to my stomp (Neutral Hostile 1)
Actions
Set caster = (Casting unit)
Set targetgroup = (Units within 300.00 of (Position of caster))
Wait 0.40 seconds
Unit Group - Remove caster from targetgroup
Unit Group - Pick every unit in targetgroup and do (Actions)
Loop - Actions
Unit - Pause (Picked unit)
Wait 1.00 seconds
Trigger - Turn on basic slide <gen>
Trigger - Run basic slide <gen> (ignoring conditions)
Wait 1.50 seconds
Trigger - Turn off basic slide <gen>
Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
Unit - Unpause (Picked unit)[/SIZE][/SIZE][/SIZE]
and second trigger:
basic slide
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Set targetpoint1 = (Position of (Picked unit))
Set targetpoint2 = (targetpoint1 offset by 8.00 towards (Angle from (Position of caster) to (Position of (Picked unit))) degrees)
Unit - Move (Picked unit) instantly to targetpoint
and Evrika!!! it doesn't work
Can some1 post a working trigger to enlighten me?
basic
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to my stomp (Neutral Hostile 1)
Actions
Set caster = (Casting unit)
Set targetgroup = (Units within 300.00 of (Position of caster))
Wait 0.40 seconds
Unit Group - Remove caster from targetgroup
Unit Group - Pick every unit in targetgroup and do (Actions)
Loop - Actions
Unit - Pause (Picked unit)
Wait 1.00 seconds
Trigger - Turn on basic slide <gen>
Trigger - Run basic slide <gen> (ignoring conditions)
Wait 1.50 seconds
Trigger - Turn off basic slide <gen>
Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
Unit - Unpause (Picked unit)[/SIZE][/SIZE][/SIZE]
and second trigger:
basic slide
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Set targetpoint1 = (Position of (Picked unit))
Set targetpoint2 = (targetpoint1 offset by 8.00 towards (Angle from (Position of caster) to (Position of (Picked unit))) degrees)
Unit - Move (Picked unit) instantly to targetpoint
and Evrika!!! it doesn't work
Can some1 post a working trigger to enlighten me?