BIS fnc ORBATOpen: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "{{Inline code|" to "{{ic|")
Line 12: Line 12:


|p1= path: [[Config]] - Path to displayed structure, e.g. configfile >> "CfgORBAT" >> "BIS" >> "O_Brigade"
|p1= path: [[Config]] - Path to displayed structure, e.g. configfile >> "CfgORBAT" >> "BIS" >> "O_Brigade"
|p2= display: [[Display]] - (Optional, default {{Inline code|[] [[call]] [[BIS_fnc_displayMission]]}}) Parent display
|p2= display: [[Display]] - (Optional, default {{ic|[] [[call]] [[BIS_fnc_displayMission]]}}) Parent display
|p3= tags: [[Array]] of [[String|strings]] - (Optional,default []) List of tags. Searching will stop on groups which don't contain at least one of the tags
|p3= tags: [[Array]] of [[String|strings]] - (Optional,default []) List of tags. Searching will stop on groups which don't contain at least one of the tags
|p4= numTiers: [[Number]] - (Optional,default -1 (all)) Number of tiers displayed
|p4= numTiers: [[Number]] - (Optional,default -1 (all)) Number of tiers displayed

Revision as of 18:10, 27 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Strategic

Syntax

Syntax:
Syntax needed
Parameters:
path: Config - Path to displayed structure, e.g. configfile >> "CfgORBAT" >> "BIS" >> "O_Brigade"
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 don't contain at least one of the tags
numTiers: Number - (Optional,default -1 (all)) Number of tiers displayed
parameters: Array of arrays - (Optional,default []) Each array looks as follows:
  • 1: Config - Group class
  • 2: Code - Action performed upon clicking on group icon
Return Value:
Return value needed

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 ViewerBIS_fnc_ORBATAddGroupOverlayBIS_fnc_ORBATAnimateBIS_fnc_ORBATConfigPreviewBIS_fnc_ORBATGetGroupParamsBIS_fnc_ORBATRemoveGroupOverlayBIS_fnc_ORBATSetGroupFadeBIS_fnc_ORBATSetGroupParamsBIS_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