mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Update object revealing
This replaces 'player reveal object' with a function that acutal reveals the objects to the player. This fixes that objects were not usable after building.
This commit is contained in:
@@ -1355,6 +1355,8 @@ if (_canBuild) then {
|
||||
|
||||
_classname = _classnameBuild;
|
||||
|
||||
[_classname,objNull] call fn_waitForObject;
|
||||
|
||||
local _builtObject = _classname createVehicle [0,0,0];
|
||||
|
||||
//_builtObject setDir _dir; // setDir is incompatible with setVectorDirAndUp and should not be used together on the same object https://community.bistudio.com/wiki/setVectorDirAndUp
|
||||
|
||||
Reference in New Issue
Block a user