• 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.

[Trigger] how do i trigger this spell out (low difficulty)

Status
Not open for further replies.
Level 9
Joined
Jan 14, 2008
Messages
366
so basically this is what i want:

a spell that launches a projectile, that travels a certain distance and then vanishes. upon contact with enemy units, the unit is "frozen" by a stun and pause-unit combination.

this is what i worked out:

i use a dummy unit for the projectile, giving it the locust ability. the basics of the spell are not difficult to figure out.

what i dont know is how to detect when a unit comes close enough to the projectile (dummy-projectile-unit)

anyone can help me out ?
 
Level 9
Joined
Jan 14, 2008
Messages
366
ok its actually the only way i think.

but when pausing a unit, to emulate "freeze", how do i set the unit to unpause after say 2 seconds, without having to store the unit in an variable?
 
Level 16
Joined
Oct 12, 2008
Messages
1,570
I think storing it in a unit group, and every 0.5 secs, if the group is not empty, set the custom value, and when that is 4 (4 x 0.5 = 2,, easy:grin:) unpause?
Only way i could think of now
 
Status
Not open for further replies.
Top