BIS fnc addCuratorAreaFromTrigger: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (GVI 1.00 --> 1.16 http://dev.arma3.com/post/spotrep-00023 (It's Zeus update, obvious))
m (pf)
Line 1: Line 1:
{{Function|Comments=
____________________________________________________________________________________________


{{Function|= Comments
| arma3 |Game name=
 
|1.16|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
|Add curator editing / camera area based on triggers.
 
|Description=
|1.16|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| [curatorLogic,triggers,checkedPosition,triggerType,editingArea,cameraArea] call [[BIS_fnc_addCuratorAreaFromTrigger]] |Syntax=


Description:
|p1=curatorLogic: [[Logic]] - Curator logic|Parameter 1=
Add curator editing / camera area based on triggers


Parameter(s):
|p2=triggers: [[Array]] - List of triggers|Parameter 2=
0: OBJECT - curator logic
1: ARRAY - list of triggers
2: checked position (for supported data types, see BIS_fnc_position)
3: BOOL - true to use a trigger nearest to the position, false to use all triggers which the position is in
4: BOOL - true to add editing area
4: BOOL - true to add camera area


Returns:
|p3=checkedPosition: [[Anything]] - Checked position. Check [[BIS_fnc_position]] for supported data types|Parameter 3=
BOOL
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p4=triggerType: [[Boolean]] - [[True]] to use a trigger nearest to the '''checkedPosition''', [[false]] to use all triggers which the position is in|Parameter 4=
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_addCuratorAreaFromTrigger]]; --> |= Syntax
|p5=editingArea: [[Boolean]] - [[True]] to add editing area|Parameter 5=


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


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


|x1= <code></code> |=  
|x1= <code>[ BIS_curator,[trigger_1,trigger_2],[0,0,0],[[true]], [[true]], [[true]] ] [[call]] [[BIS_fnc_addCuratorAreaFromTrigger]];</code>|Example 1=
 
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[Curator]] |See also=
 
}}
}}



Revision as of 19:09, 22 June 2018

Hover & click on the images for description

Description

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

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