So would this work?
Side Change
Events
Unit - A unit Gains a level
Conditions
(Hero level of (Triggering unit)) Equal to 100
Actions
Dialog - Clear HeroChoice
Dialog - Change the title of HeroChoice to Choose your Side
Dialog - Create a dialog button for HeroChoice labelled Choose Good
Set Good = (Last created dialog Button)
Dialog - Create a dialog button for HeroChoice labelled Choose Evil
Set Evil = (Last created dialog Button)
Dialog - Show HeroChoice for (Owner of (Triggering unit))
Side Change Choice
Events
Dialog - A dialog button is clicked for HeroChoice
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to Evil
Then - Actions
Game - Display to (All players) for 5.00 seconds the text: ((Name of (Triggering player)) + is now aligned with Evil!)
Set Alliance[(Player number of (Triggering player))] = 1
Player Group - Pick every player in (All players matching (Alliance[(Player number of (Picked player))] Equal to 0)) and do (Actions)
Loop - Actions
Player - Make (Triggering player) treat Neutral Hostile as an Ally
Player - Make Neutral Hostile treat (Triggering player) as an Ally
Player - Make (Triggering player) treat Neutral Passive as an Enemy
Player - Make Neutral Passive treat (Triggering player) as an Enemy
Player - Make (Triggering player) treat (Picked player) as an Enemy
Player - Make (Picked player) treat (Triggering player) as an Enemy
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Clicked dialog button) Equal to Good
Then - Actions
Game - Display to (All players) for 5.00 seconds the text: ((Name of (Triggering player)) + is now aligned with Good!)
Else - Actions
Of course, once the player is "Evil", he will be transported immediately to the center of the Evil HQ, but I haven't added that action in yet as I haven't made the HQ
