mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-15 12:42:57 +03:00
Fix setdir and setVectorDirAndUp problem
Server admins should apply this fix at least for all their server files asap.
This commit is contained in:
@@ -73,7 +73,7 @@ if (_isStorage) then {
|
||||
_vector = [vectorDir _cursorTarget,vectorUp _cursorTarget];
|
||||
|
||||
_object = createVehicle [_typeOf, [0,0,0], [], 0, "CAN_COLLIDE"];
|
||||
_object setDir _dir;
|
||||
//_object setDir _dir; // setdir is incompatible with setVectorDirAndUp and should not be used together on the same object https://community.bistudio.com/wiki/setVectorDirAndUp
|
||||
_object setVectorDirAndUp _vector;
|
||||
_object setPosATL _location;
|
||||
_object setVariable ["memDir",_dir,true];
|
||||
|
||||
Reference in New Issue
Block a user