Warcraft III resources & community, 2003–2006 · archived

trigger question!!! plz help...

4 posts
#1

trigger question!!! plz help...

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...?
#2


Actions-
.Set *Unit variable*=Last created unit
.Unit-Replace last created unit with *unit*



Does it work?
#3

Re: trigger question!!! plz help...

[FGRaptor]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)
#4
ah, yes, its logicali! create unit = last created unit, not replace unit^^
thx
i think now i can make it