BIS fnc ORBATAddGroupOverlay: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *O([a-z ])" to "$1 - o$2") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2") |
||
Line 10: | Line 10: | ||
|s1= [target, texture, colour, widthMulti, heightMulti, angle, text, shadow] call [[BIS_fnc_ORBATAddGroupOverlay]] | |s1= [target, texture, colour, widthMulti, heightMulti, angle, text, shadow] call [[BIS_fnc_ORBATAddGroupOverlay]] | ||
|p1= target: [[Config]] - | |p1= target: [[Config]] - path to group in CfgORBAT | ||
|p2= texture: [[String]] - Texture | |p2= texture: [[String]] - Texture | ||
|p3= colour: [[Array]] - colour in format [R,G,B,A] | |p3= colour: [[Array]] - colour in format [R,G,B,A] |
Revision as of 15:45, 8 November 2023
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:
Additional Information
- See also:
- 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
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