interaction: fix canInteract and exceptions in agm menu

This commit is contained in:
Nicolás Badano 2015-01-20 02:39:22 -03:00
parent a5ac89dcb1
commit 06743bef52
2 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ private ["_function", "_configFile", "_count", "_index", "_config", "_configName
_function = "private '_exceptions'; _exceptions = _this; alive ACE_player";
_configFile = configFile >> QGVAR(canInteractConditions);
_configFile = configFile >> "ACE_canInteractConditions";
_count = count _configFile;
for "_index" from 0 to (_count -1) do {

View File

@ -66,15 +66,15 @@ class ACE_Parameters_Boolean {
class ACE_canInteractConditions {
class GVAR(isNotEscorting) {
condition = QUOTE( !(_player getVariable ['ACE_isEscorting', false]) );
condition = QUOTE( !(ACE_player getVariable [ARR_2('ACE_isEscorting', false)]) );
};
class GVAR(isNotCaptive) {
condition = QUOTE( !(_player getVariable ['ACE_isCaptive', false]) );
condition = QUOTE( !(ACE_player getVariable [ARR_2('ACE_isCaptive', false)]) );
};
class GVAR(isNotSurrendering) {
condition = QUOTE( !(_player getVariable ['ACE_isSurrender', false]) );
condition = QUOTE( !(ACE_player getVariable [ARR_2('ACE_isSurrender', false)]) );
};
class GVAR(isNotSwimming) {
condition = QUOTE( !underwater _player );
condition = QUOTE( !underwater ACE_player );
};
};