BIS fnc addCuratorAreaFromTrigger: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.16 | |1.16 | ||
|gr1 = Curator | |gr1 = Curator | ||
|Add curator editing / camera area based on triggers. | |Add curator editing / camera area based on triggers. | ||
| | | [curatorLogic,triggers,checkedPosition,triggerType,editingArea,cameraArea] call [[BIS_fnc_addCuratorAreaFromTrigger]] | ||
| | |p1=curatorLogic: [[Logic]] - Curator logic | ||
| | |p2=triggers: [[Array]] - List of triggers | ||
| | |p3=checkedPosition: [[Anything]] - Checked position. Check [[BIS_fnc_position]] for supported data types | ||
| | |p4=triggerType: [[Boolean]] - [[true]] to use a trigger nearest to the '''checkedPosition''', [[false]] to use all triggers which the position is in | ||
| | |p5=editingArea: [[Boolean]] - [[true]] to add editing area | ||
| [[Boolean]] | |p6=cameraArea: [[Boolean]] - [[true]] to add camera area | ||
| | | [[Boolean]] | ||
|x1= <code>[ BIS_curator,[trigger_1,trigger_2],[0,0,0],[[true]], [[true]], [[true]] ] [[call]] [[BIS_fnc_addCuratorAreaFromTrigger]];</code> | |||
| [[Curator]] | |||
| [[Curator]] | |||
}} | }} | ||
Revision as of 23:40, 17 January 2021
Description
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