{"name":"BIS_fnc_addCuratorAreaFromTrigger","title":"BIS fnc addCuratorAreaFromTrigger","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_addCuratorAreaFromTrigger","revid":348813,"updated":"2023-11-08T14:38:17Z","groups":["Curator"],"status":"ok","games":{"arma3":"1.16"},"since":"arma3 1.16","arma3_since":"1.16","description":"Add curator editing / camera area based on triggers.","syntaxes":[{"syntax":"[curatorLogic, triggers, checkedPosition, triggerType, editingArea, cameraArea] call BIS_fnc_addCuratorAreaFromTrigger","params":[{"name":"curatorLogic","type":"Logic","description":"curator logic","type_expr":"Logic"},{"name":"triggers","type":"Array","description":"list of triggers","type_expr":"Array"},{"name":"checkedPosition","type":"Anything","description":"checked position. Check BIS_fnc_position for supported data types","type_expr":"Anything"},{"name":"triggerType","type":"Boolean","description":"true to use a trigger nearest to the *checkedPosition*, false to use all triggers which the position is in","type_expr":"Boolean"},{"name":"editingArea","type":"Boolean","description":"true to add editing area","type_expr":"Boolean"},{"name":"cameraArea","type":"Boolean","description":"true to add camera area","type_expr":"Boolean"}],"returns":{"type":"Boolean","type_expr":"Boolean"}}],"examples":[{"code":["[BIS_curator, [trigger_1,trigger_2], [0,0,0], true, true, true] call BIS_fnc_addCuratorAreaFromTrigger;"]}],"see_also":["Arma 3: Curator"]}