BIS fnc addCuratorAreaFromTrigger: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *L([a-z ])" to "$1 - l$2")
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.16


|1.16|Game version=
|gr1= Curator


|gr1 = Curator |GROUP1=
|descr= Add curator editing / camera area based on triggers.


|Add curator editing / camera area based on triggers.
|s1= [curatorLogic, triggers, checkedPosition, triggerType, editingArea, cameraArea] call [[BIS_fnc_addCuratorAreaFromTrigger]]
|Description=


| [curatorLogic,triggers,checkedPosition,triggerType,editingArea,cameraArea] call [[BIS_fnc_addCuratorAreaFromTrigger]] |Syntax=
|p1= curatorLogic: [[Logic]] - curator logic


|p1=curatorLogic: [[Logic]] - Curator logic|Parameter 1=
|p2= triggers: [[Array]] - list of triggers


|p2=triggers: [[Array]] - List of triggers|Parameter 2=
|p3= checkedPosition: [[Anything]] - checked position. Check [[BIS_fnc_position]] for supported data types


|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


|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


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


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


| [[Boolean]]|Return value=
|x1= <sqf>[BIS_curator, [trigger_1,trigger_2], [0,0,0], true, true, true] call BIS_fnc_addCuratorAreaFromTrigger;</sqf>


|x1= <code>[ BIS_curator,[trigger_1,trigger_2],[0,0,0],[[true]], [[true]], [[true]] ] [[call]] [[BIS_fnc_addCuratorAreaFromTrigger]];</code>|Example 1=
|seealso= [[Arma 3: Curator]]
 
 
| [[Curator]] |See also=
}}
}}
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:addCuratorAreaFromTrigger}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:addCuratorAreaFromTrigger}}]]

Latest revision as of 15:38, 8 November 2023

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:
Arma 3: 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