From 199d503f4bc85669788e85ecc07eee695345dc24 Mon Sep 17 00:00:00 2001 From: He-Man Date: Mon, 26 Nov 2018 21:57:00 +0100 Subject: [PATCH] Random dir for static wpns --- .../Missions/GMS_fnc_spawnGarrisonInsideBuilding_relPos.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnGarrisonInsideBuilding_relPos.sqf b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnGarrisonInsideBuilding_relPos.sqf index 1f80d2c..f95fae8 100644 --- a/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnGarrisonInsideBuilding_relPos.sqf +++ b/@GMS/addons/custom_server/Compiles/Missions/GMS_fnc_spawnGarrisonInsideBuilding_relPos.sqf @@ -37,6 +37,7 @@ for "_i" from 1 to _statics do _allBldPsn = _allBldPsn - [_pos]; _staticClassName = selectRandom _typesStatics; _obj = [_staticClassName, [0,0,0], true] call blck_fnc_spawnVehicle; + _obj setdir (random 359); _obj setVariable["GRG_vehType","emplaced"]; _staticsSpawned pushBack _obj; //diag_log format["_fnc_spawnGarrisonInsideBuilding_relPos: _obj = %1 | _staticsSpawned = %2",_obj,_staticsSpawned];