mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Allow actions on coordinates instead of selections
This commit is contained in:
parent
2ff6eef792
commit
ee04ea2f41
@ -38,10 +38,17 @@ _recurseFnc = {
|
||||
_distance = getNumber (_entryCfg >> "distance");
|
||||
_icon = getText (_entryCfg >> "icon");
|
||||
_statement = compile (getText (_entryCfg >> "statement"));
|
||||
_selection = getText (_entryCfg >> "selection");
|
||||
if (_selection == "") then {
|
||||
_selection = [0,0,0];
|
||||
|
||||
_selection = "";
|
||||
if (isArray ( _entryCfg >> "selection" )) then {
|
||||
_selection = getArray ( _entryCfg >> "selection" )
|
||||
} else {
|
||||
_selection = getText (_entryCfg >> "selection")
|
||||
if (_selection == "") then {
|
||||
_selection = [0,0,0];
|
||||
};
|
||||
};
|
||||
|
||||
_condition = getText (_entryCfg >> "condition");
|
||||
if (_condition == "") then {_condition = "true"};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user