ctrlSetFont: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
m (template:command argument fix) |
||
Line 22: | Line 22: | ||
* "RobotoCondensedLight" | * "RobotoCondensedLight" | ||
* "TahomaB" | * "TahomaB" | ||
|= | |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 28: | Line 28: | ||
|p1= control: [[Control]]|= | |p1= control: [[Control]]|PARAMETER1= | ||
|p2= fontName: [[String]] - one of the fonts defined in CfgFontFamilies|= | |p2= fontName: [[String]] - one of the fonts defined in CfgFontFamilies|PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_control [[ctrlSetFont]] "TahomaB"</code> |= | |x1= <code>_control [[ctrlSetFont]] "TahomaB"</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Fonts#Available_Fonts|Fonts]] |= | | [[Fonts#Available_Fonts|Fonts]] |SEEALSO= | ||
}} | }} |
Revision as of 14:36, 7 April 2019
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:
- Uncategorised
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