2015-02-03 02:04:50 +00:00
|
|
|
#include "script_component.hpp"
|
2015-01-11 16:42:31 +00:00
|
|
|
|
2015-02-03 02:04:50 +00:00
|
|
|
class CfgPatches {
|
|
|
|
class ADDON {
|
2015-02-07 21:20:51 +00:00
|
|
|
units[] = {QGVAR(ModuleSurrender)};
|
2015-02-03 02:04:50 +00:00
|
|
|
weapons[] = {"ACE_CableTie"};
|
|
|
|
requiredVersion = REQUIRED_VERSION;
|
|
|
|
requiredAddons[] = {"ACE_Interaction"};
|
|
|
|
author[] = {"commy2", "KoffeinFlummi"};
|
|
|
|
authorUrl = "https://github.com/commy2/";
|
|
|
|
VERSION_CONFIG;
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
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-01-11 16:42:31 +00:00
|
|
|
|
|
|
|
|
2015-02-04 06:35:51 +00:00
|
|
|
class ACE_canInteractConditions {
|
|
|
|
class GVAR(isNotEscorting) {
|
2015-02-04 19:16:19 +00:00
|
|
|
condition = QUOTE(!(GETVAR(player,QGVAR(isEscorting),false)));
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
2015-02-05 22:39:45 +00:00
|
|
|
class GVAR(isNotHandcuffed) {
|
|
|
|
condition = QUOTE(!(GETVAR(player,QGVAR(isHandcuffed),false)));
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
2015-02-04 06:35:51 +00:00
|
|
|
class GVAR(isNotSurrendering) {
|
2015-02-06 21:54:26 +00:00
|
|
|
condition = QUOTE(!(GETVAR(player,QGVAR(isSurrendering),false)));
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
|
|
|
};
|