BarzahdX
Active Member
- Reaction score
- 18
I can make a new allrandom trigger, but then I might have to change many other triggers in the map, something I don't look forward to doing.
with the word Computers he means the machine not Bots
its spawn 3 mages in north side
i fixed mine
Command All Random
Events
Player - Player 2 (Blue) types a chat message containing -ar as An exact match
Player - Player 2 (Blue) types a chat message containing -allrandom as An exact match
Conditions
GameMode Equal to MODE_Normal
Actions
Set GameMode = MODE_AllRandom_AllPick
Quest - Display to Players the Secret message: ((|cFF0000FF + ((Name of Player 2 (Blue)) + |r)) + has chosen |cFFFF0000All Random|r)
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
((Player((Integer A))) controller) Equal to User
Then - Actions
Set Random_Hero = (Random integer number between 1 and RandomTotal_All)
Unit - Create 1 Heroes_All[RandomData_All[Random_Hero]] for (Player((Integer A))) at ((Player((Integer A))) start location) facing Default building facing degrees
Selection - Select (Last created unit) for (Owner of (Last created unit))
Quest - Display to (All enemies of (Player((Integer A)))) the Hint message: (A player has randomed + (Name of (Last created unit)))
Set Player_Already_Picked[(Player number of (Picked player))] = (Player_Already_Picked[(Player number of (Picked player))] + 1)
Player - Make (Unit-type of (Last created unit)) Unavailable for training/construction by (Player((Integer A)))
Else - Actions
Set RandomData_All[Random_Hero] = RandomData_All[RandomTotal_All]
Set RandomTotal_All = (RandomTotal_All - 1)
Wait 15.00 seconds
Trigger - Turn off Random All Heroes <gen>