Love-Nature
New Member
- Reaction score
- 7
Its is slow as hell and it doesnt random the heroes for all players.... only sometimes.
This is my ar cmd :
And this is the other :
This is my ar cmd :
Trigger:
- All Random Command
- Events
- Player - Player 1 (Red) types a chat message containing -ar as An exact match
- Conditions
- Actions
- Trigger - Turn off Turn On Triggers <gen>
- Game - Display to (All players) the text: Set game mode to ar...
- Trigger - Turn on Repick Command 1 <gen>
- Trigger - Turn on Repick Command 2 <gen>
- Trigger - Turn on Repick Command 3 <gen>
- Trigger - Turn on Repick Command 4 <gen>
- Trigger - Turn on Repick Command 5 <gen>
- Trigger - Turn on Repick Command 6 <gen>
- Trigger - Turn on Repick Command 7 <gen>
- Trigger - Turn on Repick Command 8 <gen>
- Trigger - Turn on Repick Command 9 <gen>
- Trigger - Turn on Repick Command 10 <gen>
- Trigger - Turn on Time is 45 seconds <gen>
- Trigger - Turn on Move Heroes <gen>
- Trigger - Turn on Turn On Triggers 15 <gen>
- Do Multiple ActionsFor each (Integer A) from 1 to 10, do (Actions)
- Loop - Actions
- Multiple FunctionsIf (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
- Set Random_Hero = (Random integer number between 1 and Random_Count)
- Unit - Create 1 Hero_Array[Random_Data[Random_Hero]] for (Player((Integer A))) at ((Player((Integer A))) start location) facing Default building facing (270.0) degrees
- Selection - Select (Last created unit) for (Owner of (Last created unit))
- Game - Display to (All players) the text: (A player has randomed + (Name of (Last created unit)))
- Player - Add -50 to (Player((Integer A))) Current gold
- Set Random_Data[Random_Hero] = Random_Count
- Set Random_Count = (Random_Count - 1)
- Else - Actions
- Trigger - Turn off (This trigger)
- If - Conditions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Do Multiple ActionsFor each (Integer A) from 1 to 10, do (Actions)
- Events
And this is the other :
Trigger:
- Map Initialization
- Events
- Map initialization
- Conditions
- Actions
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Player - Set (Picked player) Current gold to 650
- Camera - Pan camera for (Picked player) to (Position of Circle of Power 0002 <gen>) over 0.00 seconds
- Camera - Set (Picked player)'s camera Distance to target to 2000.00 over 0.80 seconds
- Loop - Actions
- Set Total_Heroes = 11
- Set Random_Count = 11
- Set Hero_Array[1] = Brutal Ogre
- Set Hero_Array[2] = Lord Frostfire
- Set Hero_Array[3] = Blood Mage
- Set Hero_Array[4] = Blademaster
- Set Hero_Array[5] = Windrunner
- Set Hero_Array[6] = Pit Lord
- Set Hero_Array[7] = Tinker
- Set Hero_Array[8] = Ancient Gryphon
- Set Hero_Array[9] = Faceless One
- Set Hero_Array[10] = Holy Priest
- Set Hero_Array[11] = Priest
- Do Multiple ActionsFor each (Integer A) from 1 to 10, do (Actions) <-------- must be for heroes or for players?!
- Loop - Actions
- Set Random_Data[(Integer A)] = (Integer A)
- Loop - Actions
- Do Multiple ActionsFor each (Integer A) from 1 to 10, do (Actions) <-------- must be for heroes or for players?!
- Player Group - Pick every player in (All players) and do (Actions)
- Events