• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Expiration Timer and that Stuff - Trigger-Problem!

Status
Not open for further replies.
Level 2
Joined
Jul 28, 2006
Messages
18
Hello,

please have a look at my trigger.

trigger1.jpg


I want that the trigger creates a "Magical Arrow(MAKER)" on using the Ability "magical111121".
The "Magical Arrow(MAKER)" should live for 20 seconds for example.
And, !ONLY" if a enemy unit comes in his range(500), the "Magical Arrow(MAKER)" should be removed and then the trigger should create "Magical Arrow(MISSILE)", which lives only for 8 seconds!
But only when a enemy unit comes in his range.
 
Level 22
Joined
Jan 10, 2005
Messages
3,426
give the unit an aura with 500 range (no effects) and detect if a unit has that buff, when a unit has the buff (is within range) create that missle 8 sec thing

ps: if the casting unit is placed in editor u can just use the function: unit comes within range (can only select in WE units and no variables)
 
Level 6
Joined
Apr 4, 2005
Messages
299
Problem with aura solution is that buff preserves for something about 2 sec even if unit is gone. More "exact" is pick every unit in range of 500 from position of unit you want.
 
Status
Not open for further replies.
Top