• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Why doesnt my trigger work!?

Status
Not open for further replies.
Level 3
Joined
Jan 26, 2009
Messages
36
Arcane Vortex Mana Drain
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Arcane Vortex
Actions
Unit Group - Pick every unit in (Units within 250.00 of (Target point of ability being cast) matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A structure) Equal to False
((Picked unit) is alive) Equal to True
Then - Actions
Unit - Create 1 Arcane Vortex (Mana Drain) for (Owner of (Triggering unit)) at (Target point of ability being cast) facing (Facing of (Triggering unit)) degrees
Unit - Set level of Arcane Vortex (Battlemage - Mana Drain) for (Last created unit) to (Level of Arcane Vortex for (Triggering unit))
Unit - Order (Last created unit) to Night Elf Druid Of The Claw - Rejuvenation (Picked unit)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Else - Actions
Do nothing

Everything about the trigger works except for the fact that only 1 dummy unit is created. What is my problem!?
 
Status
Not open for further replies.
Top