mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
32 lines
876 B
C++
32 lines
876 B
C++
#include "script_component.hpp"
|
|
|
|
class CfgPatches {
|
|
class ADDON {
|
|
units[] = {};
|
|
weapons[] = {"ACE_CableTie"};
|
|
requiredVersion = REQUIRED_VERSION;
|
|
requiredAddons[] = {"ACE_Interaction"};
|
|
author[] = {"commy2", "KoffeinFlummi"};
|
|
authorUrl = "https://github.com/commy2/";
|
|
VERSION_CONFIG;
|
|
};
|
|
};
|
|
|
|
#include "CfgEventHandlers.hpp"
|
|
#include "CfgMoves.hpp"
|
|
#include "CfgVehicles.hpp"
|
|
#include "CfgWeapons.hpp"
|
|
|
|
|
|
class ACE_Core_canInteractConditions {
|
|
class ACE_Interaction_isNotEscorting {
|
|
condition = "!(_player getVariable ['ACE_isEscorting', false])";
|
|
};
|
|
class ACE_Interaction_isNotCaptive {
|
|
condition = "!(_player getVariable ['ACE_isCaptive', false])";
|
|
};
|
|
class ACE_Interaction_isNotSurrendering {
|
|
condition = "!(_player getVariable ['ACE_isSurrender', false])";
|
|
};
|
|
};
|