Gladiator
Events
Unit - A unit Sells a unit
Conditions
(Unit-type of (Sold unit)) Equal to Gladiator
Actions
Camera - Reset camera for (Owner of (Buying unit)) to standard game-view over 0.00 seconds
Set Heroes[(Player number of (Owner of (Buying unit)))] = (Sold unit)
Unit - Move (Sold unit) instantly to ((Owner of (Buying unit)) start location)
Player Group - Add (Owner of (Sold unit)) to Active
Selection - Select (Sold unit) for (Owner of (Buying unit))
Special Effect - Create a special effect attached to the origin of (Sold unit) using Abilities\Spells\Other\Awaken\Awaken.mdl
Special Effect - Destroy (Last created special effect)
Camera - Pan camera for (Owner of (Buying unit)) to ((Owner of (Buying unit)) start location) over 0.00 seconds
Game - Display to Players the text: (PlayerNames[(Player number of (Owner of (Buying unit)))] + ( has chosen + |c007ebff1Gladiator|r))
Multiboard - Set the display style for (Last created multiboard) item in column 1, row Player_Position[(Player number of (Owner of (Buying unit)))] to Show text and Show icons
Multiboard - Set the icon for (Last created multiboard) item in column 1, row Player_Position[(Player number of (Owner of (Buying unit)))] to ReplaceableTextures\CommandButtons\BTNFootman.blp
Multiboard - Set the text for (Last created multiboard) item in column 3, row Player_Position[(Player number of (Owner of (Buying unit)))] to 1
Multiboard - Set the color for (Last created multiboard) item in column 3, row Player_Position[(Player number of (Owner of (Buying unit)))] to (100.00%, 100.00%, 100.00%) with 0.00% transparency
For each (Integer A) from 1 to 8, do (Actions)
Loop - Actions
Player - Make HeroesType[(Integer A)] Unavailable for training/construction by (Owner of (Buying unit))
Unit - Change ownership of (Buying unit) to Neutral Passive and Change color