ACE3/addons/captives/config.cpp

32 lines
876 B
C++
Raw Normal View History

2015-02-03 02:04:50 +00:00
#include "script_component.hpp"
2015-02-03 02:04:50 +00:00
class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {"ACE_CableTie"};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ACE_Interaction"};
author[] = {"commy2", "KoffeinFlummi"};
authorUrl = "https://github.com/commy2/";
VERSION_CONFIG;
};
};
2015-02-03 02:04:50 +00:00
#include "CfgEventHandlers.hpp"
2015-02-03 06:42:34 +00:00
#include "CfgMoves.hpp"
#include "CfgVehicles.hpp"
#include "CfgWeapons.hpp"
2015-02-03 02:04:50 +00:00
class ACE_Core_canInteractConditions {
class ACE_Interaction_isNotEscorting {
condition = "!(_player getVariable ['ACE_isEscorting', false])";
};
2015-02-03 02:04:50 +00:00
class ACE_Interaction_isNotCaptive {
condition = "!(_player getVariable ['ACE_isCaptive', false])";
};
2015-02-03 02:04:50 +00:00
class ACE_Interaction_isNotSurrendering {
condition = "!(_player getVariable ['ACE_isSurrender', false])";
};
};