mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
interaction: fix canInteract and exceptions in agm menu
This commit is contained in:
parent
a5ac89dcb1
commit
06743bef52
@ -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 {
|
||||
|
@ -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 );
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user