Merge pull request #2 from MGTDB/patch-2

Update occupationHeliCrashes.sqf
This commit is contained in:
kuplion 2017-07-18 19:17:52 +01:00 committed by GitHub
commit 15fc871673

View File

@ -120,6 +120,19 @@ for "_i" from 1 to SC_numberofHeliCrashes do
[_logDetail] call SC_fnc_log; [_logDetail] call SC_fnc_log;
}; };
_mapMarkerName = format ["SC_helicrash_marker_%1", _i];
if (SC_occupyLootCratesMarkers) then
{
_heli_marker = createMarker [ format ["SC_helicrash_marker_%1", _i], _position];
_heli_marker setMarkerColor "ColorOrange";
_heli_marker setMarkerAlpha 1;
_heli_marker setMarkerText "Helicrash";
_heli_marker setMarkerType "c_air";
_heli_marker setMarkerBrush "Vertical";
_heli_marker setMarkerSize [(1), (1)];
};
_positionOfBox = [_position,3,10,1,0,10,0] call BIS_fnc_findSafePos; _positionOfBox = [_position,3,10,1,0,10,0] call BIS_fnc_findSafePos;
_box = "Box_NATO_Ammo_F" createvehicle _positionOfBox; _box = "Box_NATO_Ammo_F" createvehicle _positionOfBox;