BIS fnc ORBATAddGroupOverlay: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= " to " ")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.00|Game version=
|1.00


|gr1 = Strategic |GROUP1=
|gr1 = Strategic


| Register texture(s) to be displayed over CfgORBAT group. |DESCRIPTION=
| Register texture(s) to be displayed over CfgORBAT group.


| [target, texture, colour, widthMulti, heightMulti, angle, text, shadow] call [[BIS_fnc_ORBATAddGroupOverlay]] |SYNTAX=
| [target, texture, colour, widthMulti, heightMulti, angle, text, shadow] call [[BIS_fnc_ORBATAddGroupOverlay]]


|p1= target: [[Config]] - Path to group in CfgORBAT|PARAMETER1=
|p1= target: [[Config]] - Path to group in CfgORBAT
|p2= texture: [[String]] - Texture|PARAMETER2=
|p2= texture: [[String]] - Texture
|p3= colour: [[Array]] - Colour in format [R,G,B,A]|PARAMETER3=
|p3= colour: [[Array]] - Colour in format [R,G,B,A]
|p4= widthMulti: [[Number]] - Original icon width multiplier|PARAMETER4=
|p4= widthMulti: [[Number]] - Original icon width multiplier
|p5= heightMulti: [[Number]] - Original icon height multiplier|PARAMETER5=
|p5= heightMulti: [[Number]] - Original icon height multiplier
|p6= angle: [[Number]] - Angle|PARAMETER6=
|p6= angle: [[Number]] - Angle
|p7= text: [[String]] - Text|PARAMETER7=
|p7= text: [[String]] - Text
|p8= shadow: [[Boolean]] - Shadow outlining the texture|PARAMETER8=
|p8= shadow: [[Boolean]] - Shadow outlining the texture




| [[Number]] - Overlay ID, used by [[BIS_fnc_ORBATRemoveGroupOverlay]]|RETURNVALUE=
| [[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>


| [[ORBAT Viewer]], [[BIS_fnc_ORBATAnimate]], [[BIS_fnc_ORBATConfigPreview]], [[BIS_fnc_ORBATGetGroupParams]], [[BIS_fnc_ORBATOpen]], [[BIS_fnc_ORBATRemoveGroupOverlay]], [[BIS_fnc_ORBATSetGroupFade]], [[BIS_fnc_ORBATSetGroupParams]], [[BIS_fnc_ORBATTooltip]] |SEEALSO=
| [[ORBAT Viewer]], [[BIS_fnc_ORBATAnimate]], [[BIS_fnc_ORBATConfigPreview]], [[BIS_fnc_ORBATGetGroupParams]], [[BIS_fnc_ORBATOpen]], [[BIS_fnc_ORBATRemoveGroupOverlay]], [[BIS_fnc_ORBATSetGroupFade]], [[BIS_fnc_ORBATSetGroupParams]], [[BIS_fnc_ORBATTooltip]]
}}
}}



Revision as of 22:18, 17 January 2021

Hover & click on the images for description

Description

Description:
Register texture(s) to be displayed over CfgORBAT group.
Execution:
call
Groups:
Strategic

Syntax

Syntax:
[target, texture, colour, widthMulti, heightMulti, angle, text, shadow] call BIS_fnc_ORBATAddGroupOverlay
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

Bottom Section