CBA_fnc_createTrigger

Description

Create a trigger all at once.

Parameters

_posPosition [Array]

Optional Parameters

”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”

Returns

Trigger and parameters given in an array: [_trigger, _parameters]

Examples

[_position] call CBA_fnc_createTrigger;

[_position, "AREA:", [5, 5, 0, false], "ACT:", ["CIV", "PRESENT", true]] call CBA_fnc_createTrigger;

Author

Sickboy (sb_at_dev-heaven.net)

Close