From 21daa331dc208cef6e6eaa489d5161eccec753f0 Mon Sep 17 00:00:00 2001 From: dixon13 Date: Wed, 23 Dec 2015 11:49:17 -0700 Subject: [PATCH] Changes to ACE_Unload - added semi-colon - changed the condition - changed the statement --- addons/interaction/CfgVehicles.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/interaction/CfgVehicles.hpp b/addons/interaction/CfgVehicles.hpp index de6acbb08a..1396622b2b 100644 --- a/addons/interaction/CfgVehicles.hpp +++ b/addons/interaction/CfgVehicles.hpp @@ -150,11 +150,11 @@ class CfgVehicles { }; class ACE_Unload { displayName = CSTRING(ExtractFromVehicle); - condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canInteractWithCivilianVehicle)); - statement = QUOTE([ARR_2(_target,vehicle _target)] call EFUNC(common,unloadPersonLocal)); + condition = QUOTE(isNull objectParent _targe && [ARR_2(_player,_target)] call DFUNC(canInteractWithCivilian)); + statement = QUOTE([_target] call EFUNC(common,unloadPerson)); showDisabled = 0; priority = 2.6; - } + }; }; class ACE_Torso {