BIS fnc addCuratorAreaFromTrigger: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Curator(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\] " to "")
m (Text replacement - "True" to "true")
Line 21: Line 21:
|p3=checkedPosition: [[Anything]] - Checked position. Check [[BIS_fnc_position]] for supported data types|Parameter 3=
|p3=checkedPosition: [[Anything]] - Checked position. Check [[BIS_fnc_position]] for supported data types|Parameter 3=


|p4=triggerType: [[Boolean]] - [[True]] to use a trigger nearest to the '''checkedPosition''', [[false]] to use all triggers which the position is in|Parameter 4=
|p4=triggerType: [[Boolean]] - [[true]] to use a trigger nearest to the '''checkedPosition''', [[false]] to use all triggers which the position is in|Parameter 4=


|p5=editingArea: [[Boolean]] - [[True]] to add editing area|Parameter 5=
|p5=editingArea: [[Boolean]] - [[true]] to add editing area|Parameter 5=


|p6=cameraArea: [[Boolean]] - [[True]] to add camera area|Parameter 6=
|p6=cameraArea: [[Boolean]] - [[true]] to add camera area|Parameter 6=


| [[Boolean]]|Return value=
| [[Boolean]]|Return value=

Revision as of 18:08, 26 December 2020

Hover & click on the images for description

Description

Description:
Add curator editing / camera area based on triggers.
Execution:
call
Groups:
Curator

Syntax

Syntax:
[curatorLogic,triggers,checkedPosition,triggerType,editingArea,cameraArea] call BIS_fnc_addCuratorAreaFromTrigger
Parameters:
curatorLogic: Logic - Curator logic
triggers: Array - List of triggers
checkedPosition: Anything - Checked position. Check BIS_fnc_position for supported data types
triggerType: Boolean - true to use a trigger nearest to the checkedPosition, false to use all triggers which the position is in
editingArea: Boolean - true to add editing area
cameraArea: Boolean - true to add camera area
Return Value:
Boolean

Examples

Example 1:
[ BIS_curator,[trigger_1,trigger_2],[0,0,0],true, true, true ] call BIS_fnc_addCuratorAreaFromTrigger;

Additional Information

See also:
Curator

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section