BIS fnc addCuratorAreaFromTrigger: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *L([a-z ])" to "$1 - l$2") |
||
(5 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
|s1= [curatorLogic, triggers, checkedPosition, triggerType, editingArea, cameraArea] call [[BIS_fnc_addCuratorAreaFromTrigger]] | |s1= [curatorLogic, triggers, checkedPosition, triggerType, editingArea, cameraArea] call [[BIS_fnc_addCuratorAreaFromTrigger]] | ||
|p1= curatorLogic: [[Logic]] - | |p1= curatorLogic: [[Logic]] - curator logic | ||
|p2= triggers: [[Array]] - | |p2= triggers: [[Array]] - list of triggers | ||
|p3= checkedPosition: [[Anything]] - | |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 | |p4= triggerType: [[Boolean]] - [[true]] to use a trigger nearest to the ''checkedPosition'', [[false]] to use all triggers which the position is in | ||
Line 24: | Line 24: | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= < | |x1= <sqf>[BIS_curator, [trigger_1,trigger_2], [0,0,0], true, true, true] call BIS_fnc_addCuratorAreaFromTrigger;</sqf> | ||
|seealso= [[Arma 3: Curator]] | |seealso= [[Arma 3: Curator]] | ||
}} | }} |
Latest revision as of 15:38, 8 November 2023
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:
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