BIS fnc addCuratorAreaFromTrigger: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Curator |GROUP1= | |gr1 = Curator |GROUP1= | ||
|Add curator editing / camera area based on triggers. | |Add curator editing / camera area based on triggers. | ||
|Description= | |Description= | ||
| [curatorLogic,triggers,checkedPosition,triggerType,editingArea,cameraArea] call [[BIS_fnc_addCuratorAreaFromTrigger]] |Syntax= | | [curatorLogic,triggers,checkedPosition,triggerType,editingArea,cameraArea] call [[BIS_fnc_addCuratorAreaFromTrigger]] |Syntax= | ||
Line 28: | Line 25: | ||
| [[Boolean]]|Return value= | | [[Boolean]]|Return value= | ||
|x1= <code>[ BIS_curator,[trigger_1,trigger_2],[0,0,0],[[true]], [[true]], [[true]] ] [[call]] [[BIS_fnc_addCuratorAreaFromTrigger]];</code>|Example 1= | |x1= <code>[ BIS_curator,[trigger_1,trigger_2],[0,0,0],[[true]], [[true]], [[true]] ] [[call]] [[BIS_fnc_addCuratorAreaFromTrigger]];</code>|Example 1= | ||
| [[Curator]] |See also= | | [[Curator]] |See also= |
Revision as of 22:43, 16 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