Warcraft III resources & community, 2003–2006 · archived

VARIABLE HELP WANTED!!!AHH!!

10 posts
#1

VARIABLE HELP WANTED!!!AHH!!

ok i need help on this variable,
ill give u the trigger that needs the variable

TRIGGER:

Event
Unit Starts the effect of an abillity
Condition
Abillity being cast eaqul to (i havent thought of a name yet...)
Actions
create 1 abillity atkr position of caster
(this is where i need the variable help..)
order VARIABLE to attack target point of abillity beig cast

HELP!!
#2
Um... (Last Created Unit)?

~The_Raven
#3

uno

but this map has a creep spawn....
#4
As long as there's no wait, there shouldn't be a problem.

~The_Raven
#5

thx

thx but can i make the trigger like this:

(this is only part)

creat unit
order last created unit to attack ground

do i need 2 like put a wait .01 seconds in between or what?
#6
Units are created instantly so there shouldn't be a problem... No wait needed. Disable it.
#7
k thx guyz :P

u guys are a great help 2 my map
#8
Can't wait to see it... It sounds like a DDay of Judgment spell if it spawns units but not really needed to be like DDay. I simply love these maps ^_^.
#9
Usually last created unit refers to units created in that trigger
#10
Umm... Is it? I know it is with units created in a trigger but I was not sure that it wouldn't be affected by other triggers as well. Hmm... Does it work with a FOR let's say? Or a timed trigger which repeats every 0.20 seconds for example?