ImmortaL_GoD
New Member
- Reaction score
- 4
No idea why these two triggers won't work:
The first one there is no attack or slow. The second one, the unit casts, but no units appear, and it's based off Blizzard. =/
Code:
Eowyn Bane
Events
Unit - A unit Is attacked
Conditions
(Attacking unit) Equal to Lady of the Mark 0093 <gen>
Or - Any (Conditions) are true
Conditions
(Attacked unit) Equal to Er-Murâzor 0145 <gen>
(Attacked unit) Equal to Second of the Nine 0137 <gen>
(Attacked unit) Equal to Third of the Nine 0138 <gen>
(Attacked unit) Equal to Fourth of the Nine 0139 <gen>
(Attacked unit) Equal to Fifth of the Nine 0140 <gen>
(Attacked unit) Equal to Sixth of the Nine 0141 <gen>
(Attacked unit) Equal to Seventh of the Nine 0142 <gen>
(Attacked unit) Equal to Eighth of the Nine 0143 <gen>
(Attacked unit) Equal to Ninth of the Nine 0144 <gen>
Actions
Unit - Cause (Attacking unit) to damage (Attacked unit), dealing 50.00 damage of attack type Magic and damage type Normal
Unit - Set (Triggering unit) movement speed to 130.00
Wait 3.00 seconds
Unit - Set (Triggering unit) movement speed to (Default movement speed of (Triggering unit))
Code:
The Gray Company
Events
Unit - Halbarad Dunadan 0482 <gen> Begins casting an ability
Conditions
(Ability being cast) Equal to The Gray Company
Actions
Unit - Create 12 Ranger of the Gray Company for Neutral Extra at temp_point facing (Facing of (Casting unit)) degrees
Set temp_point = (Target point of ability being cast)
Set temp_group = (Units owned by Neutral Extra)
Unit Group - Pick every unit in temp_group and do (Actions)
Loop - Actions
Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Unit - Add a 10.00 second Generic expiration timer to (Picked unit)
Unit - Change color of (Picked unit) to (Color of Player 9 (Gray))
Unit - Order (Picked unit) to Attack-Move To temp_point
Special Effect - Destroy (Last created special effect)
Custom script: call DestroyGroup (udg_temp_group)
Custom script: call RemoveLocation (udg_temp_point)
The first one there is no attack or slow. The second one, the unit casts, but no units appear, and it's based off Blizzard. =/