ctrlSetFont: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma1 |Game name= | | arma1 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= GUI Control |GROUP1= | |gr1= GUI Control |GROUP1= | ||
| Sets the font for given control (see [[Fonts#Available_Fonts|Fonts]]) | | Sets the font for given control (see [[Fonts#Available_Fonts|Fonts]]) | ||
Line 25: | Line 23: | ||
* "TahomaB" | * "TahomaB" | ||
|DESCRIPTION= | |DESCRIPTION= | ||
| control '''ctrlSetFont''' fontName | | control '''ctrlSetFont''' fontName | ||
Line 35: | Line 32: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>_control [[ctrlSetFont]] "TahomaB"</code> |EXAMPLE1= | |x1= <code>_control [[ctrlSetFont]] "TahomaB"</code> |EXAMPLE1= | ||
| [[Fonts#Available_Fonts|Fonts]] |SEEALSO= | | [[Fonts#Available_Fonts|Fonts]] |SEEALSO= |
Revision as of 00:39, 17 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