Warcraft III resources & community, 2003–2006 · archived

Replacing Units with dialog buttons

2 posts
#1

Replacing Units with dialog buttons

Ok i posted a forum on this a while ago about Dialog and repicking units but, i figured out wat was wrong. it is this

Actions
Unit owned by player1 (red) gains a lvl
Conditions
Unit type equal to hero equal to true
Unit level of (lvling unit) is equal to 13
Unit type equal to X
Actions
Set hero[1] to (leveling unit)
Create Dialog button named Good Human
set Dialogbutton[1] to last created dialog button
Create Dialog button named Evil Human
set Dialogbutton[2] to last created dialog button
If dialog button clicked is equal to Dialogbutton[1] run trigger ignoring Human Child Good
If dialog button clicked is equal to Dialogbutton[2] run trigger ignoring Human Child Evil

THe other triggers are
Actions
Conditions
Events Replace hero[1] with Teen
#2
You got accurate help in the other thread, but judging by your trigger in this one, you didn't follow it. Go back there and finish what you started; don't just spam the forum with the same question.