From 38f6496ba485e1dffba8d1a8fca701a95c6186f2 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sun, 5 Jun 2016 20:05:26 +0100 Subject: [PATCH] Allow Non Vehicle spawn call update _posOut to allow for object spawn. Error was thrown otherwise. --- .../compile/epoch_missions/EPOCH_Server_createObject.sqf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/epoch_server/compile/epoch_missions/EPOCH_Server_createObject.sqf b/Sources/epoch_server/compile/epoch_missions/EPOCH_Server_createObject.sqf index c2dead40..145a92a7 100644 --- a/Sources/epoch_server/compile/epoch_missions/EPOCH_Server_createObject.sqf +++ b/Sources/epoch_server/compile/epoch_missions/EPOCH_Server_createObject.sqf @@ -78,6 +78,8 @@ _pos set [2,0]; //if(_x in _allowedVehiclesList)then{ //Not working ? + _posOut = _pos; + if(_x isKindOf "CAR" || _x isKindOf "AIR")then{ _pos = [position _player, 0, 250, 6, 0, 1000, 0] call BIS_fnc_findSafePos; _pos = _pos findEmptyPosition [1,75,_x];