BIS_fnc_toUpperDisplayTexts

From Bohemia Interactive Community
Revision as of 13:59, 8 November 2023 by Lou Montana (talk | contribs) (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Converts text of selected classes in one display to upper-case except classes with name PlayersName. Also searches inside CT_CONTROLS_GROUPs.
Execution:
call
Groups:
GUI

Syntax

Syntax:
[displayClass, controlClasses, blacklist] call BIS_fnc_toUpperDisplayTexts
Parameters:
displayClass: String - class name of the display to manipulate
controlClasses: Array of Strings - class names of parents of controls you want to turn upper case (e. g. ["RscText", "RscTitle"])
blacklist: Array of Strings - (Optional: Default []) Class names of controls you don't want to turn upper case (e. g. ["CA_VehicleAuthor"])
Return Value:
Nothing

Examples

Example 1:
["RscDisplayOptionsAudio", ["RscText"]] call BIS_fnc_toUpperDisplayTexts;

Additional Information

See also:
BIS_fnc_displayName

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