RMG place start locations Ereignisse Bedingungen Aktionen Set SP_BaseAngle = (Random angle) Spielergruppe - Pick every player in C_Players and do (Actions) Schleifen - Aktionen Set SP_StartPosition[(Player number of (Picked player))] = ((Center of Map_UsedMap) offset by (0.80 x Map_MaxCoordinatesXY) towards (SP_BaseAngle + (Real((SP_CurrentIndex x (360 / C_NumberOfPlayers))))) degrees) Kamera - Pan camera for (Picked player) to SP_StartPosition[(Player number of (Picked player))] over 0.00 seconds Kamera - Set a spacebar-point for (Picked player) at SP_StartPosition[(Player number of (Picked player))] Einheit - Create 1 Goldmine for Neutral passiv at (SP_StartPosition[(Player number of (Picked player))] offset by 700.00 towards (Angle from (Center of Map_UsedMap) to SP_StartPosition[(Player number of (Picked player))]) degrees) facing SP_StartPosition[(Player number of (Picked player))] For each (Integer A) from 1 to 500, do (Actions) Schleifen - Aktionen Set Grove_TreePosition = (SP_StartPosition[(Player number of (Picked player))] offset by (Random real number between 600.00 and 1000.00) towards (Random real number between ((Angle from (Position of (Last created unit)) to SP_StartPosition[(Player number of (Picked player))]) - 90.00 Set Grove_TreePlacementOK = True Einheitengruppe - Pick every unit in (Units within 300.00 of Grove_TreePosition matching (((Matching unit) is Ein Gebäude) Gleich True)) and do (Actions) Schleifen - Aktionen Set Grove_TreePlacementOK = False Skip remaining actions Einheitengruppe - Pick every unit in (Units within 100.00 of Grove_TreePosition matching (((Matching unit) is Ein Gebäude) Gleich False)) and do (Actions) Schleifen - Aktionen Set Grove_TreePlacementOK = False Skip remaining actions Zerstörbar - Pick every destructible within 50.00 of Grove_TreePosition and do (Actions) Schleifen - Aktionen Set Grove_TreePlacementOK = False Skip remaining actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) 'IF'-Bedingungen (Map_UsedMap contains Grove_TreePosition) Gleich True Grove_TreePlacementOK Gleich True 'THEN'-Aktionen Zerstörbar - Create a TS_Tree_Default at Grove_TreePosition facing (Random angle) with scale (Random real number between 0.75 and 1.25) and variation (Random integer number between 0 and TS_TreeMaxVariation) 'ELSE'-Aktionen Set Grove_NumberOfFailedTrees = (Grove_NumberOfFailedTrees + 1) Nahkampf-Spiel - Create (Race of (Picked player)) starting units for (Picked player) at SP_StartPosition[(Player number of (Picked player))] (Einschließen Heroes) Set SP_CurrentIndex = (SP_CurrentIndex + 1)