- Joined
- Jun 26, 2014
- Messages
- 513
So here's the problem, the game doesn't recognize when I add a Computer when hosting my map, instead it registers him as a User.
I tried turning on and off the Fixed Player Settings on the Forces tab but it still won't fix it.
-
If - Conditions
-
((Player((Integer A))) controller) Equal to Computer
-
I tried turning on and off the Fixed Player Settings on the Forces tab but it still won't fix it.
-
AI Team 1 Hero pick
-
Events
-
Time - Elapsed game time is 1.00 seconds
-
-
Conditions
-
Actions
-
Set AI_Hero_Type[1] = Demolisher
-
Set AI_Hero_Type[2] = Engineer
-
Set AI_Hero_Type[3] = Medic
-
Set AI_Hero_Type[4] = Pyro
-
Set AI_Hero_Type[5] = Soldier
-
For each (Integer A) from 1 to 6, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Player((Integer A))) controller) Equal to Computer
-
-
Then - Actions
-
Set temp_point[0] = (Center of Hero Human Pick <gen>)
-
Unit - Create 1 AI_Hero_Type[(Random integer number between 1 and 5)] for (Player((Integer A))) at temp_point[0] facing Default building facing degrees
-
Player - Set name of (Player((Integer A))) to (Proper name of (Last created unit))
-
Custom script: call RemoveLocation (udg_temp_point[0])
-
-
Else - Actions
-
-
-
-
-