Create a trigger all at once.
_pos | Position [Array] |
”AREA:” | e.g. [5, 5, 0, false] |
”ACT:” | e.g. [“CIV”, “PRESENT”, true] |
”STATE:” | e.g. [“this”, “hint ‘Civilian near player’”, “hint ‘no civilian near’”] |
”NAME:” | e.g. “VariableName” |
Trigger and parameters given in an array: [_trigger, _parameters]
[_position] call CBA_fnc_createTrigger; [_position, "AREA:", [5, 5, 0, false], "ACT:", ["CIV", "PRESENT", true]] call CBA_fnc_createTrigger;
Sickboy (sb_at_dev-heaven.net)