- Joined
- Jul 31, 2004
- Messages
- 108
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
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