Paladin <gen> = region of paladin Arena <gen> = Where the paladin will spawn Camera: This will move the player's camera to where the unit is spawned, which is Arena <gen> so they don't go "wtf? weres my hero?"
Hope it helps
Palladin
Events
Unit - A unit enters Paladin <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Wisp
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 Paladin for (Owner of (Triggering unit)) at (Center of Arena <gen>) facing Default building facing degrees
Camera - Pan camera for (Triggering player) to (Center of Starter <gen>) over 0.00 seconds
Camera - Pan camera as necessary for (Owner of (Triggering unit)) to (Center of Starter <gen>) over 0.00 seconds
I would like to have a '-repick' option if you're heroe dies, however how do you make it so the repick option only works AFTER you're heroe is dead (so you cant type -repick a million times and have lots)
Event: When a unit owned by (player 1 red) dies. Condition: None Event: Trigger - Turn on Trigger (player 1 repick)
Trigger for Repick, click the box up the top of the trigger that says initally on, so that there is no tick then
Event: Chat Message - When (player 1 red) types -repick as an exact match Condition: None Event: Create 1 (hero selector) for (player 1 red) at centre of region(select hero place).
trigger - Turn off (this trigger)
simply change player 1 to player 2. for the triggers and walaa, basic triggers for your hero repick. If it's too confusing then i'll be happy to explain it in greater detail.
1 ) Only repick in the first X minutes/seconds/hours of the game
2 ) After the hero dies, choose another different character and start all over
3 ) only repick ONCE in the whole game
1 )Repick
Events
Player - Player 1 (Red) types a chat message containing -repick as An exact match
Player - Player 2 (Blue) types a chat message containing -repick as An exact match
Player - Player 3 (Teal) types a chat message containing -repick as An exact match
Player - Player 4 (Purple) types a chat message containing -repick as An exact match
Player - Player 5 (Yellow) types a chat message containing -repick as An exact match
Player - Player 6 (Orange) types a chat message containing -repick as An exact match
Player - Player 7 (Green) types a chat message containing -repick as An exact match
Player - Player 8 (Pink) types a chat message containing -repick as An exact match
Player - Player 9 (Gray) types a chat message containing -repick as An exact match
Player - Player 10 (Light Blue) types a chat message containing -repick as An exact match
Conditions
NONE
Actions
Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
Loop - Actions
If (((Picked unit) is A Hero) Equal to True) then do (Unit - Remove (Picked unit) from the game) else do (Do nothing)
Unit - Create 1 Hero Selector for (Triggering player) at (Center of Repick Area <gen>) facing 90.00 degrees
Camera - Pan camera for (Triggering player) to (Center of Repick Area <gen>) over 1.00 seconds
AND
Time limit Repick
Events
Time - Elapsed game time is X seconds
Conditions
Actions
Trigger - Turn off Repick <gen>
2 ) Unit Dies repick
Events
Player - Player 1 (Red) types a chat message containing -repick as An exact match
Conditions
(Number of units in (Units owned by Player 1 (Red))) Equal to 0
Actions
Unit - Create 1 Hero Picker for Player 1 (Red) at (Center of Repick Area <gen>) facing Default building facing degrees
3 )
Events
Player - Player 1 (Red) types a chat message containing -repick as An exact match
Conditions
NONE
Actions
Unit - Create 1 Hero Picker for Player 1 (Red) at (Center of Repick Area <gen>) facing Default building facing degrees
Trigger - Turn off Repick <gen>[/code]
REMEMBER, for all triggers, if you want only to repick ONCE then at the end of the trigger make
Trigger - Turn off Repick <gen>
If you want the player to repick, lets say 3 times in the game, then tell me so i can help[/code]