When the trigger creates a random unit its not so random.. its the same unit for everyone, each time its a different hero.. but everyone gets the same hero.. help?
-
All Random
-

Events
-


Player - Player 1 (Red) types a chat message containing -ar as An exact match
-
-

Conditions
-

Actions
-


Trigger - Turn off Default mode <gen>
-


Trigger - Turn off Turn off all random <gen>
-


Trigger - Turn off Allowed Selection <gen>
-


For each (Integer A) from 1 to 10, do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






((Player((Integer A))) slot status) Equal to Is playing
-
-





Then - Actions
-






Quest - Display to (All players) the Hint message: ((Name of (Triggering player)) + has selected random mode.)
-






Set Random_Hero = (Random integer number between 1 and Random_Count)
-






Unit - Create 1 Heroes_array[RandomData[Player_Count]] for (Player((Integer A))) at ((Player((Integer A))) start location) facing Default building facing degrees
-






Set RandomData[Random_Hero] = Random_Count
-






Set Player_Count = (Random_Count - 1)
-






Player Group - Pick every player in (All players) and do (Actions)
-







Loop - Actions
-








Player - Make (Unit-type of (Last created unit)) Unavailable for training/construction by (Picked player)
-
-
-






Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Actions)
-







Loop - Actions
-








Camera - Pan camera for (Picked player) to (Center of Team1Circle <gen>) over 0.00 seconds
-
-
-






Player Group - Pick every player in (All allies of Player 6 (Orange)) and do (Actions)
-







Loop - Actions
-








Camera - Pan camera for (Picked player) to (Center of Team2Circle <gen>) over 0.00 seconds
-
-
-






Trigger - Turn on Random level 2 <gen>
-






Trigger - Turn off (This trigger)
-
-





Else - Actions
-






Do nothing
-
-
-
-
-
-



