HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need help with trigger spell

11-25-2003, 01:26 AM#1
The_One
Ok, i have a spell that uses blink a a base ability and then, when the hero teleports somewhere, it makes fire appear where the hero teleported to and does some damage to units. I put in a condition (Distance Between Caster and Target < 1200 (the range of blink) do nothing, else, skp remaining actions)
The problem with this is that when a person choses to blink to the other end of the map it blinks as far in that direction as possible thats within the 1200 range, but, since its out of the 1200 range the trigger doesnt work. Does anyone know how to fix this, all help would be greatly appreciated.
11-25-2003, 01:58 AM#2
MaliceDR
While the distance between the unit and it's eventual blink location is equal to or less than 1200, the targeted location can be anywhere, and that's what the trigger checks.

I'd suggest this.

Event:
Unit uses an ability.

Condition:
Ability is modified Blink

Event:
Wait 0.2 seconds.
Do whatever.


I'd suggest also creating several units with Unknown (aloc), modified Thunder Clap, zero collision size, and no model. After the .2 second timer in the trigger expires, your hero should have just blinked to their new location. Have it create one of these units at the location of your hero, order it to use Thunder Clap, and then remove it.
11-25-2003, 02:14 AM#3
Hunter0000
dectect when the order is issues and create an invisable unit to mark the starting location.

go on from there...