use createVeh non-array on the server

Faster by my testing. Also, some more performance related changes to
server_monitor
This commit is contained in:
icomrade
2016-08-17 15:17:43 -04:00
parent f04d581b4d
commit 6d45a8f2b6
12 changed files with 61 additions and 25 deletions

View File

@@ -15,7 +15,8 @@ if ((count _position) == 2) then {
_istoomany = _position nearObjects ["All",5];
if ((count _istoomany) > 0) exitWith {};
_veh = createVehicle ["Supply_Crate_DZE",_position, [], 0, "CAN_COLLIDE"];
//_veh = createVehicle ["Supply_Crate_DZE",_position, [], 0, "CAN_COLLIDE"];
_veh = "Supply_Crate_DZE" createVehicle [0,0,0];
_veh enableSimulation false;
_veh setDir round(random 360);
_veh setPos _position;