@@ -103,6 +103,7 @@ if((server getVariable "StartupType") == "NEW" || (server getVariable ["NATOvers
103103 {
104104 _x params [" _pos" ," _name" ," _worth" ];
105105 if ! (_name in _abandoned ) then {
106+ diag_log format [" Overthrow: Initializing %1" ,_name ];
106107 OT_NATOobjectives pushBack _x ;
107108 server setVariable [format [" vehgarrison%1" ,_name ],[],true ];
108109
@@ -116,8 +117,10 @@ if((server getVariable "StartupType") == "NEW" || (server getVariable ["NATOvers
116117 _base = 24 ;
117118 _statics = OT_NATO_StaticGarrison_LevelThree;
118119 };
119- if ((random 100 ) < ((count _groundvehs )+ _base )) then {
120- _statics pushbackUnique (selectRandom _groundvehs );
120+ if ((random 300 ) < ((count _groundvehs )+ _base )) then {
121+ _veh = (selectRandom _groundvehs );
122+ diag_log format [" Adding %1 to %2" ,_veh call OT_fnc_vehicleGetName ,_name ];
123+ _statics pushbackUnique _veh ;
121124 };
122125 private _garrison = floor (_base + random (8 ));
123126
@@ -209,7 +212,7 @@ if((server getVariable "StartupType") == "NEW" || (server getVariable ["NATOvers
209212 _airvehs = OT_allBLUOffensiveVehicles select {_x isKindOf " Air" };
210213 {
211214 _name = _x ;
212- if ((random 100 ) < (count _airvehs )) then {
215+ if ((random 200 ) < (count _airvehs )) then {
213216 _type = selectRandom _airvehs ;
214217 private _garrison = server getVariable [format [" airgarrison%1" ,_name ],[]];
215218 _garrison pushback _type ;
@@ -219,11 +222,11 @@ if((server getVariable "StartupType") == "NEW" || (server getVariable ["NATOvers
219222
220223 // Distribute static AA to airfields
221224 {
222- _name = _x ;
225+ _x params [ " " , " _name " ] ;
223226 _vehs = server getVariable [format [" vehgarrison%1" ,_name ],[]];
224227 _vehs = _vehs + OT_NATO_Vehicles_StaticAAGarrison;
225228 server setVariable [format [" vehgarrison%1" ,_name ],_vehs ,true ];
226- }foreach (_prilist );
229+ }foreach (OT_airportData );
227230
228231 diag_log " Overthrow: Setting up NATO checkpoints" ;
229232 {
0 commit comments