- Joined
- Dec 31, 2007
- Messages
- 780
Dont pay attention to this trigger
This one is the one im interested in...
What i basically want is to stun a target unit if it moves attacks patrols etc... but it only stuns the first time... and then no more... am i lacking an order on the next trigger?
-
Psiquik Attack Cast
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Psiquick Attack ( New hero )
-
Actions
- Special Effect - Create a special effect attached to the head of (Triggering unit) using Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl
- Set SFX[1] = (Last created special effect)
- Special Effect - Create a special effect attached to the main of (Triggering unit) using Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl
- Set SFX[2] = (Last created special effect)
- Special Effect - Create a special effect attached to the chest of (Triggering unit) using Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl
- Set SFX[3] = (Last created special effect)
- Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\Orc\Bloodlust\BloodlustTarget.mdl
- Set SFX[4] = (Last created special effect)
- Set Psiquik_Attack_Group = (Units within 450.00 of (Position of (Triggering unit)) matching ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and ((Owner of (Matching unit)) Not equal to (Owner of (Triggering unit)))))
- Unit - Create 1 Psiquick Aura for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
- Set Psiquik_Attacker = (Last created unit)
- Trigger - Turn on Psiquik attack <gen>
-
Unit Group - Pick every unit in Psiquik_Attack_Group and do (Actions)
-
Loop - Actions
- Unit - Cause Psiquik_Attacker to damage (Picked unit), dealing 1.00 damage of attack type Spells and damage type Normal
- Unit - Order (Picked unit) to Stop
-
Loop - Actions
- Wait 5.00 seconds
- Unit - Remove Psiquik_Attacker from the game
- Unit Group - Remove all units of Psiquik_Attack_Group from Psiquik_Attack_Group
-
For each (Integer A) from 1 to 4, do (Actions)
-
Loop - Actions
- Special Effect - Destroy SFX[(Integer A)]
-
Loop - Actions
- Trigger - Turn off Psiquik attack <gen>
-
Events
This one is the one im interested in...
What i basically want is to stun a target unit if it moves attacks patrols etc... but it only stuns the first time... and then no more... am i lacking an order on the next trigger?
-
Psiquik attack
-
Events
- Unit - A unit Is issued an order targeting a point
- Unit - A unit Is issued an order targeting an object
-
Conditions
- ((Triggering unit) is in Psiquik_Attack_Group) Equal to True
-
Or - Any (Conditions) are true
-
Conditions
- (Issued order) Equal to (Order(smart))
- (Issued order) Equal to (Order(attack))
- (Issued order) Equal to (Order(move))
- (Issued order) Equal to (Order(patrol))
-
Conditions
-
Actions
- Unit - Order Psiquik_Attacker to Human Mountain King - Storm Bolt (Triggering unit)
- Unit - Order (Triggering unit) to Stop
-
Events