• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Need help for my spell of last created unit.

Status
Not open for further replies.
Level 2
Joined
Jul 15, 2016
Messages
26
Hey there i have a problem here, it is i have many spells requires

to( create 1 dummy),
(add<spell> to last create unit),
(set level of<spell> for last created unit to level of blabla bla) and
(order last create unit to bla bla bla)


i have many kind of spell using this kind of trigger.

the problem is to many of it cause some of my spell don't work correctly even my triggers are right.
Can anyone help me pls?
 
Do what PrinceYaser says, do variables, or better yet, use a master dummy if appropiate.

Chances are you have other spells/systems in your map that are reactive when you create your dummy so that it is no longer the 'last created unit' (because your other spells/triggers are creating units inbetween the time you create your dummy and order it to cast).
 
Status
Not open for further replies.
Back
Top