HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigered appilty help

10-19-2003, 01:18 AM#1
Karazy
ok before i start plz do not call me a noob cause i can't figure this out.
ok i want this triger to make the caster go to where the targeting unit is and the targeting unit to go to the castign unit. this is how i have ti set up

Event
Player 1 finsihish casting appillty
Player 2 etc etc

Actions
If ((appilty being cast)Equal to Switch Spots) then do (Unit - move (trigering unit)instanly to (postion of (targeted unit)) else do (Unit - Move (targeted unit) instanly to (postion of (trigering unit))
The custom appilty base is storm bolt if that makes any difrance.
PLZ HELP ME
10-19-2003, 03:20 AM#2
Hunter0000
1) err, welcome to the forums!

2) by the way its ability not appility

3) what do you need help with? What exactly do you mean "it wont work"? does it do nothing, or does it only move one unit, what is it doing????
10-19-2003, 03:26 AM#3
Karazy
no one is moving at all. i need to know what is wrong with the triger that the units will not be moved
10-19-2003, 03:31 AM#4
Hunter0000
Aha, the old ****ing annoying WE problem. You cannot use the reponse "targeted unit" for an abillity cast, only when the ability is ordered. its a pain in the neck because you have to store the target as an array when the abilty is ordered to be used when the spell is cast.
10-19-2003, 05:54 AM#5
FF_Behemoth
you need 2 triggers to do this. 1st triggers is used to determine who the 'target unit of issued order' and the 2nd trigger is used to detect when the ablity is cast. refer to this thread for the answer. http://www.wc3campaigns.com/forums/s...threadid=33040
10-19-2003, 06:24 AM#6
Supra God CrK
easiest way is through the we unlimited editor. if you use it it allows you to get the target of an abilty while being cast. ;)
10-19-2003, 05:25 PM#7
Karazy
behemoth i thank u so so so so so so so so so sooooooo much for your help :gsmile:!!!!!!