mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
Update fn_ImportFromM3E_Static.sqf
Rectify importing logic. Thanks to "HorsefedDave#8870" on Discord from "Kubotas PVE Exile".
This commit is contained in:
parent
c523a82cd1
commit
48e530bfb5
@ -50,15 +50,16 @@ private _objs = _export apply
|
|||||||
|
|
||||||
private _pos = _x select 1;
|
private _pos = _x select 1;
|
||||||
|
|
||||||
if (_x select 4) then
|
if (((count _x)>4) && {!(_x select 4)}) then
|
||||||
{
|
{
|
||||||
_obj setDir (_x select 2);
|
// Supports bank/pitch
|
||||||
_obj setPosATL _pos;
|
_obj setPosATL _pos;
|
||||||
|
_obj setVectorDirAndUp (_x select 3);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_obj setPosATL _pos;
|
_obj setDir (_x select 2);
|
||||||
_obj setVectorDirAndUp (_x select 3);
|
_obj setPos _pos;
|
||||||
};
|
};
|
||||||
|
|
||||||
_obj;
|
_obj;
|
||||||
|
Loading…
Reference in New Issue
Block a user