BIS fnc ORBATAddGroupOverlay: 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 - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
Line 20: Line 20:
|p8= shadow: [[Boolean]] - Shadow outlining the texture
|p8= shadow: [[Boolean]] - Shadow outlining the texture


| [[Number]] - Overlay ID, used by [[BIS_fnc_ORBATRemoveGroupOverlay]]
|r1=[[Number]] - Overlay ID, used by [[BIS_fnc_ORBATRemoveGroupOverlay]]


|x1= <code>[ [[configFile]] >> "CfgORBAT" >> "BIS" >> "B_1_A_1", "\A3\weapons_f\data\UI\icon_MG_CA.paa", [0,0,01], 3, 3, 0, "Some Text", [[true]] ] call [[BIS_fnc_ORBATAddGroupOverlay]];</code>
|x1= <code>[ [[configFile]] >> "CfgORBAT" >> "BIS" >> "B_1_A_1", "\A3\weapons_f\data\UI\icon_MG_CA.paa", [0,0,01], 3, 3, 0, "Some Text", [[true]] ] call [[BIS_fnc_ORBATAddGroupOverlay]];</code>

Revision as of 21:27, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Strategic

Syntax

Syntax:
Syntax needed
Parameters:
target: Config - Path to group in CfgORBAT
texture: String - Texture
colour: Array - Colour in format [R,G,B,A]
widthMulti: Number - Original icon width multiplier
heightMulti: Number - Original icon height multiplier
angle: Number - Angle
text: String - Text
shadow: Boolean - Shadow outlining the texture
Return Value:
Number - Overlay ID, used by BIS_fnc_ORBATRemoveGroupOverlay

Examples

Example 1:
[ configFile >> "CfgORBAT" >> "BIS" >> "B_1_A_1", "\A3\weapons_f\data\UI\icon_MG_CA.paa", [0,0,01], 3, 3, 0, "Some Text", true ] call BIS_fnc_ORBATAddGroupOverlay;

Additional Information

See also:
ORBAT ViewerBIS_fnc_ORBATAnimateBIS_fnc_ORBATConfigPreviewBIS_fnc_ORBATGetGroupParamsBIS_fnc_ORBATOpenBIS_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