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

trigger question!!! plz help...

Status
Not open for further replies.
Level 2
Joined
Jul 5, 2004
Messages
21
I have a problem with units....
....i have a trigger that replace an ecsisitng unit, but if i make a trigger: replace->last created unit with->xyz it didn't work!
so, my question: how do i make a unit to last created unit? can someone help? anyone...?
 
Level 7
Joined
Jul 30, 2004
Messages
451
[FG said:
Raptor]I have a problem with units....
....i have a trigger that replace an ecsisitng unit, but if i make a trigger: replace->last created unit with->xyz it didn't work!
so, my question: how do i make a unit to last created unit? can someone help? anyone...?

'last created unit' is exactly what it says, its a reference to the last created unit using the 'unit - create' trigger, if you haven't created a unit then when it tries to replace the 'last created unit' it can't find one

depending on what ur doing u have to replace 'last created unit' with something else (i don't know since i have no clue what ur doing)
 
Status
Not open for further replies.
Top