mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
NINJA EDIT
This commit is contained in:
parent
f9167e362d
commit
f6f95b76c3
@ -51,7 +51,7 @@ private _objs = _export apply
|
||||
{
|
||||
// Create the object
|
||||
private _obj = createVehicle [_x select 0, [0,0,0], [], 0, "CAN_COLLIDE"];
|
||||
_obj enableSimulationGlobal false;
|
||||
_obj enableSimulationGlobal true;
|
||||
|
||||
// Calculate the object's position using provided relative position
|
||||
private _objPos = [_pos,_x select 1] call DMS_fnc_CalcPos;
|
||||
|
@ -52,8 +52,6 @@ if ((isNil "_export") || {!(_export isEqualType [])}) exitWith
|
||||
private _objs = _export apply
|
||||
{
|
||||
private _obj = createVehicle [_x select 0, [0,0,0], [], 0, "CAN_COLLIDE"];
|
||||
_obj enableSimulationGlobal false;
|
||||
|
||||
private _pos = (_x select 1) vectorAdd [0,0,5000];
|
||||
|
||||
if (_x select 4) then
|
||||
@ -65,6 +63,7 @@ private _objs = _export apply
|
||||
{
|
||||
_obj setPosATL _pos;
|
||||
_obj setVectorDirAndUp (_x select 3);
|
||||
_obj enableSimulationGlobal false;
|
||||
};
|
||||
|
||||
_obj;
|
||||
|
@ -46,8 +46,6 @@ if ((isNil "_export") || {!(_export isEqualType [])}) exitWith
|
||||
private _objs = _export apply
|
||||
{
|
||||
private _obj = createVehicle [_x select 0, [0,0,0], [], 0, "CAN_COLLIDE"];
|
||||
_obj enableSimulationGlobal false;
|
||||
|
||||
private _pos = _x select 1;
|
||||
|
||||
if (_x select 4) then
|
||||
@ -59,6 +57,7 @@ private _objs = _export apply
|
||||
{
|
||||
_obj setPosATL _pos;
|
||||
_obj setVectorDirAndUp (_x select 3);
|
||||
_obj enableSimulationGlobal false;
|
||||
};
|
||||
|
||||
_obj;
|
||||
|
Loading…
Reference in New Issue
Block a user