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

My trigger isnt working

Status
Not open for further replies.
Level 2
Joined
Aug 27, 2008
Messages
14
i have a trigger that goes like this
event: unit finishes casting of a ability

condition: triggering ability equal to flamestrike

action: spawn 3 Dummy unit at target point of spell cast for triggering player
Action: wait 2.00 seconds
action: order last created unit to cast Nightelf druid rejuvination
Action: kill last created unit





ok thats my trigger.
they have the model of Tauren chieftain and they have a global rejuvination.
the problem is when i cast flamestrike they just appear at the center of it and do nothing. they are also locust so uncontrollable.
any idea how this might work? basic idea:
i want 3x dummy units to be spawned at the center of my flamestrike and they cast rejuvination and then die
 
Level 5
Joined
Oct 3, 2008
Messages
104
well referring to abilities once they have finished casting usually results in problems. if i were you i would set a point variable the moment the ability starts the effect, and then refer to that point variable when the ability finishes.
also, do your dummies have the ability on tehm? do they have the mana?
and your actions are a bit strange. i think if you spawn 3 dummies and u try to refer to last created unit, WE gets confused. you may need to add them to a unit group variable, and then use pick all units in unit group -action, to order them each to cast the spell. and also, killing a unit in the same trigger as ordering them will result in fail. add an expiration timer instead
 
change ur actions to

create 1 dummy
order last created unit to rejuvination unit
add unit to unit group
create 1 dummy
order last created unit to rejuvination unit
add unit to unit group
create 1 dummy
order last created unit to rejuvination unit
add unit to unit group
pick ever units in unit group
remove picked unit from the game
 
Status
Not open for further replies.
Top