ctrlSetFont: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|gr1= GUI Control | |gr1= GUI Control | ||
| Sets the font for given control (see [[Fonts#Available_Fonts|Fonts]]) | | Sets the font for given control (see [[Fonts#Available_Fonts|Fonts]]) | ||
Line 22: | Line 22: | ||
* "RobotoCondensedLight" | * "RobotoCondensedLight" | ||
* "TahomaB" | * "TahomaB" | ||
| control '''ctrlSetFont''' fontName | | control '''ctrlSetFont''' fontName | ||
|p1= control: [[Control]] | |p1= control: [[Control]] | ||
|p2= fontName: [[String]] - one of the fonts defined in CfgFontFamilies | |p2= fontName: [[String]] - one of the fonts defined in CfgFontFamilies | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>_control [[ctrlSetFont]] "TahomaB"</code> | |x1= <code>_control [[ctrlSetFont]] "TahomaB"</code> | ||
| [[Fonts#Available_Fonts|Fonts]] | | [[Fonts#Available_Fonts|Fonts]] | ||
}} | }} |
Revision as of 00:27, 18 January 2021
Description
- Description:
- Sets the font for given control (see Fonts)
Available Arma 3 fonts- "EtelkaMonospacePro"
- "EtelkaMonospaceProBold"
- "EtelkaNarrowMediumPro"
- "LCD14"
- "LucidaConsoleB"
- "PuristaBold"
- "PuristaLight"
- "PuristaMedium"
- "PuristaSemibold"
- "RobotoCondensed"
- "RobotoCondensedBold"
- "RobotoCondensedLight"
- "TahomaB"
- Groups:
- GUI Control
Syntax
- Syntax:
- control ctrlSetFont fontName
- Parameters:
- control: Control
- fontName: String - one of the fonts defined in CfgFontFamilies
- Return Value:
- Nothing
Examples
- Example 1:
_control ctrlSetFont "TahomaB"
Additional Information
- See also:
- Fonts
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