mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Better positioning for Heli Wreck
This commit is contained in:
parent
d826fa1bdb
commit
8c29b4401e
@ -61,7 +61,7 @@ if ((random 1) < _chance) then {
|
|||||||
uisleep 0.5;
|
uisleep 0.5;
|
||||||
if !(surfaceiswater _pos) then {
|
if !(surfaceiswater _pos) then {
|
||||||
_veh = createVehicle [_veharray select 1, _pos, [], 0, "CAN_COLLIDE"];
|
_veh = createVehicle [_veharray select 1, _pos, [], 0, "CAN_COLLIDE"];
|
||||||
_veh setvectorup [0,0,1];
|
_veh setVectorUp surfaceNormal _pos;
|
||||||
_veh setPosatl _pos;
|
_veh setPosatl _pos;
|
||||||
[objnull,"HeliCrash",false,_pos,[true,[6,12]]] call EPOCH_serverLootObject;
|
[objnull,"HeliCrash",false,_pos,[true,[6,12]]] call EPOCH_serverLootObject;
|
||||||
// Place markers and get decay, compromised and original colors
|
// Place markers and get decay, compromised and original colors
|
||||||
|
Loading…
Reference in New Issue
Block a user