BIS fnc toUpperDisplayTexts: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2") |
||
Line 12: | Line 12: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|p1= displayClass: [[String]] - | |p1= displayClass: [[String]] - class name of the display to manipulate | ||
|p2= controlClasses: [[Array]] of [[String]]s - | |p2= controlClasses: [[Array]] of [[String]]s - class names of parents of controls you want to turn upper case (e. g. ["RscText", "RscTitle"]) | ||
|p3= blacklist: [[Array]] of [[String]]s - (Optional: Default []) Class names of controls you don't want to turn upper case (e. g. ["CA_VehicleAuthor"]) | |p3= blacklist: [[Array]] of [[String]]s - (Optional: Default []) Class names of controls you don't want to turn upper case (e. g. ["CA_VehicleAuthor"]) |
Latest revision as of 13:59, 8 November 2023
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:
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