BIS fnc ORBATOpen: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (format)
m (Text replacement - "(Optional, default {{hl|[]}})" to "(Optional, default <sqf inline>[]</sqf>)")
 
(35 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Strategic


|1.00|= Game version
|descr= Opens the [[ORBAT Viewer]].
____________________________________________________________________________________________


| Opens the [[ORBAT Viewer]].|= Description
|s1= [path, display, tags, numTiers, parameters] call [[BIS_fnc_ORBATOpen]]
____________________________________________________________________________________________


| [path, display, tags, numTiers,parameters] call '''BIS_fnc_ORBATOpen'''; |= Syntax
|p1= path: [[Config]] - config path to displayed structure


|p1= path: [[Config]] - Path to displayed structure, e.g. configfile >> "CfgORBAT" >> "BIS" >> "O_Brigade"|= Parameter 1
|p2= display: [[Display]] - (Optional, default <sqf inline>[] call BIS_fnc_displayMission</sqf>) parent display
|p2= display: [[Display]] - (Optional, default [[call]] [[BIS_fnc_displayMission]]) Parent display |= Parameter 2
|p3= tags: [[Array]] of [[String|strings]] - List of tags.(Optional,default []) Searching will stop on groups which don't contain at least one of the tags |= Parameter 3
|p4= numTiers: [[Number]] - (Optional,default -1 (all)) Number of tiers displayed |= Parameter 4
|p5= parameters: [[Array]] of [[Array|arrays]] - (Optional,default []) Each array looks as follows:
*1: [[Config]] - Group class
*2: [[Code]] - Action performed upon clicking on group icon |= Parameter 5


| [[Display]] |= Return value
|p3= tags: [[Array]] of [[String]]s - (Optional, default <sqf inline>[]</sqf>) list of tags. Searching will stop on groups which do not contain at least one of the tags
____________________________________________________________________________________________


|x1= <code>[ [[configFile]] >> "CfgORBAT" >> "BIS" >> "O_Brigade",[[findDisplay]] 46, [], 4, ["ConfigClass_1",{[[systemChat]] "ConfigClass_1"}] ] [[call]] '''BIS_fnc_ORBATOpen''';</code> |=
|p4= numTiers: [[Number]] - (Optional, default -1 (all)) Number of tiers displayed
______________


| [[ORBAT Viewer]], [[BIS_fnc_ORBATAddGroupOverlay]], [[BIS_fnc_ORBATAnimate]], [[BIS_fnc_ORBATConfigPreview]], [[BIS_fnc_ORBATGetGroupParams]], [[BIS_fnc_ORBATRemoveGroupOverlay]], [[BIS_fnc_ORBATSetGroupFade]], [[BIS_fnc_ORBATSetGroupParams]], [[BIS_fnc_ORBATTooltip]] |= See also
|p5= parameters: [[Array]] of [[Array]]s - (Optional, default <sqf inline>[]</sqf>) sub-arrays in format [config, code] where:
config: [[Config]] - group class
code: [[Code]] - action performed upon clicking on group icon


}}
|r1= [[Display]]


<h3 style="display:none">Notes</h3>
|x1= <sqf>[configFile >> "CfgORBAT" >> "BIS" >> "O_Brigade", findDisplay 46, [], 4, ["ConfigClass_1", { systemChat "ConfigClass_1" }]] call BIS_fnc_ORBATOpen;</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso= [[ORBAT Viewer]] [[BIS_fnc_ORBATAddGroupOverlay]] [[BIS_fnc_ORBATAnimate]] [[BIS_fnc_ORBATConfigPreview]] [[BIS_fnc_ORBATGetGroupParams]] [[BIS_fnc_ORBATRemoveGroupOverlay]] [[BIS_fnc_ORBATSetGroupFade]] [[BIS_fnc_ORBATSetGroupParams]] [[BIS_fnc_ORBATTooltip]]
</dl>
}}
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Strategic|{{uc:ORBATOpen}}]]
[[Category:Functions|{{uc:ORBATOpen}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:ORBATOpen}}]]

Latest revision as of 18:09, 8 November 2023

Hover & click on the images for description

Description

Description:
Opens the ORBAT Viewer.
Execution:
call
Groups:
Strategic

Syntax

Syntax:
[path, display, tags, numTiers, parameters] call BIS_fnc_ORBATOpen
Parameters:
path: Config - config path to displayed structure
display: Display - (Optional, default [] call BIS_fnc_displayMission) parent display
tags: Array of Strings - (Optional, default []) list of tags. Searching will stop on groups which do not contain at least one of the tags
numTiers: Number - (Optional, default -1 (all)) Number of tiers displayed
parameters: Array of Arrays - (Optional, default []) sub-arrays in format [config, code] where: config: Config - group class code: Code - action performed upon clicking on group icon
Return Value:
Display

Examples

Example 1:
[configFile >> "CfgORBAT" >> "BIS" >> "O_Brigade", findDisplay 46, [], 4, ["ConfigClass_1", { systemChat "ConfigClass_1" }]] call BIS_fnc_ORBATOpen;

Additional Information

See also:
ORBAT Viewer BIS_fnc_ORBATAddGroupOverlay BIS_fnc_ORBATAnimate BIS_fnc_ORBATConfigPreview BIS_fnc_ORBATGetGroupParams BIS_fnc_ORBATRemoveGroupOverlay BIS_fnc_ORBATSetGroupFade BIS_fnc_ORBATSetGroupParams BIS_fnc_ORBATTooltip

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