Better positioning for Heli Wreck

This commit is contained in:
He-Man 2019-09-25 22:28:47 +02:00
parent d826fa1bdb
commit 8c29b4401e

View File

@ -61,7 +61,7 @@ if ((random 1) < _chance) then {
uisleep 0.5;
if !(surfaceiswater _pos) then {
_veh = createVehicle [_veharray select 1, _pos, [], 0, "CAN_COLLIDE"];
_veh setvectorup [0,0,1];
_veh setVectorUp surfaceNormal _pos;
_veh setPosatl _pos;
[objnull,"HeliCrash",false,_pos,[true,[6,12]]] call EPOCH_serverLootObject;
// Place markers and get decay, compromised and original colors