BIS fnc 3DENDiagFonts: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>(\[?[^\[]+\]?) *(\[\[)?(call|spawn)(\]\])? *(\[\[)?(BI(N|S)_fnc_[a-zA-Z0-9_]+)(\]\])?;?<\/code>" to "<sqf>$1 $3 $6;</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "Category:Eden Editor" to "Eden Editor") |
||
(4 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
|descr= [[File: | |descr= [[File:BIS_fnc_3DENDiagFonts example.jpg|thumb|This display is opened when the function is called in Eden.]] | ||
Displays given font in various different sizes. The fontID is the index of the font in | Displays given font in various different sizes. The fontID is the index of the font in <sqf inline>configFile >> "CfgFontFamilies"</sqf>.<br> | ||
Fonts for {{GVI|arma3|2.00}}: | Fonts for {{GVI|arma3|2.00}}: | ||
<ol start | <ol start="0" style="column-count: 3"> | ||
<li>LucidaConsoleB | <li>LucidaConsoleB | ||
<li>TahomaB | <li>TahomaB | ||
<li>EtelkaMonospacePro | <li>EtelkaMonospacePro | ||
<li>LCD14 | <li>LCD14 | ||
<li>EtelkaMonospaceProBold | <li>EtelkaMonospaceProBold | ||
<li>EtelkaNarrowMediumPro | <li>EtelkaNarrowMediumPro | ||
<li>PuristaBold | <li>PuristaBold | ||
<li>PuristaLight | <li>PuristaLight | ||
<li>PuristaMedium | <li>PuristaMedium | ||
<li>PuristaSemibold | <li>PuristaSemibold | ||
<li>RobotoCondensed | <li>RobotoCondensed | ||
<li>RobotoCondensedBold | <li>RobotoCondensedBold | ||
<li>RobotoCondensedLight | <li>RobotoCondensedLight | ||
<li>Caveat | <li>Caveat | ||
</ol> | </ol> | ||
Line 34: | Line 34: | ||
|x1= <sqf>2 call BIS_fnc_3DENDiagFonts;</sqf> | |x1= <sqf>2 call BIS_fnc_3DENDiagFonts;</sqf> | ||
|seealso= [[Eden Editor]] [[BIS_fnc_3DENCamera]] [[BIS_fnc_3DENControlsHint]] [[BIS_fnc_3DENDiagCreateList]] [[BIS_fnc_3DENDiagMouseControl]] [[BIS_fnc_3DENDrawLocations]] [[BIS_fnc_3DENEntityMenu]] [[BIS_fnc_3DENExportAttributes]] [[BIS_fnc_3DENExportOldSQM]] [[BIS_fnc_3DENExportTerrainBuilder]] [[BIS_fnc_3DENFlashlight]] [[BIS_fnc_3DENGrid]] [[BIS_fnc_3DENIntel]] [[BIS_fnc_3DENInterface]] [[BIS_fnc_3DENListLocations]] [[BIS_fnc_3DENMissionPreview]] [[BIS_fnc_3DENModuleDescription]] [[BIS_fnc_3DENShowMessage]] [[BIS_fnc_3DENStatusBar]] [[BIS_fnc_3DENToolbar]] [[BIS_fnc_3DENTutorial]] [[BIS_fnc_3DENVisionMode]] | |seealso= [[:Category:Eden Editor|Eden Editor]] [[BIS_fnc_3DENCamera]] [[BIS_fnc_3DENControlsHint]] [[BIS_fnc_3DENDiagCreateList]] [[BIS_fnc_3DENDiagMouseControl]] [[BIS_fnc_3DENDrawLocations]] [[BIS_fnc_3DENEntityMenu]] [[BIS_fnc_3DENExportAttributes]] [[BIS_fnc_3DENExportOldSQM]] [[BIS_fnc_3DENExportTerrainBuilder]] [[BIS_fnc_3DENFlashlight]] [[BIS_fnc_3DENGrid]] [[BIS_fnc_3DENIntel]] [[BIS_fnc_3DENInterface]] [[BIS_fnc_3DENListLocations]] [[BIS_fnc_3DENMissionPreview]] [[BIS_fnc_3DENModuleDescription]] [[BIS_fnc_3DENShowMessage]] [[BIS_fnc_3DENStatusBar]] [[BIS_fnc_3DENToolbar]] [[BIS_fnc_3DENTutorial]] [[BIS_fnc_3DENVisionMode]] | ||
}} | }} | ||
{{Note | |||
|user= 7erra | |||
|timestamp= 20201101153600 | |||
|text= Code used to generate list: | |||
<sqf> | |||
_version = str(productVersion select 2); | |||
_version = format["%1.%2", _version select [0,1], _version select [1, count _version]]; | |||
Code used to generate list: | _firstLine = format ["Fonts for {{GVI|arma3|%1}}: | ||
< | ", _version]; | ||
_version | _s = [_firstLine, "<ol start{{=}}""0"" style=""column-count: 3"">"]; | ||
_firstLine | _cfgFonts = configProperties [configfile >> "cfgfontfamilies","isclass _x"]; | ||
_s | _cfgFonts apply { | ||
_cfgFonts | _s pushBack format["<li>%1</li>", configName _x]; | ||
_cfgFonts | |||
_s | |||
}; | }; | ||
_s | _s pushBack "</ol>"; | ||
_s | _s = _s joinString endl; | ||
copyToClipboard _s; | |||
_s | _s; | ||
</ | </sqf> | ||
}} | |||
Latest revision as of 13:27, 9 July 2023
Description
- Description:
-
Displays given font in various different sizes. The fontID is the index of the font in configFile >> "CfgFontFamilies".
Fonts for 2.00:- LucidaConsoleB
- TahomaB
- EtelkaMonospacePro
- LCD14
- EtelkaMonospaceProBold
- EtelkaNarrowMediumPro
- PuristaBold
- PuristaLight
- PuristaMedium
- PuristaSemibold
- RobotoCondensed
- RobotoCondensedBold
- RobotoCondensedLight
- Caveat
- Execution:
- call
- Groups:
- Eden Editor
Syntax
- Syntax:
- fontID call BIS_fnc_3DENDiagFonts
- Parameters:
- fontID: Number
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- Eden Editor BIS_fnc_3DENCamera BIS_fnc_3DENControlsHint BIS_fnc_3DENDiagCreateList BIS_fnc_3DENDiagMouseControl BIS_fnc_3DENDrawLocations BIS_fnc_3DENEntityMenu BIS_fnc_3DENExportAttributes BIS_fnc_3DENExportOldSQM BIS_fnc_3DENExportTerrainBuilder BIS_fnc_3DENFlashlight BIS_fnc_3DENGrid BIS_fnc_3DENIntel BIS_fnc_3DENInterface BIS_fnc_3DENListLocations BIS_fnc_3DENMissionPreview BIS_fnc_3DENModuleDescription BIS_fnc_3DENShowMessage BIS_fnc_3DENStatusBar BIS_fnc_3DENToolbar BIS_fnc_3DENTutorial BIS_fnc_3DENVisionMode
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
- Posted on Nov 01, 2020 - 15:36 (UTC)
-
Code used to generate list:
_version = str(productVersion select 2); _version = format["%1.%2", _version select [0,1], _version select [1, count _version]]; _firstLine = format ["Fonts for {{GVI|arma3|%1}}: ", _version]; _s = [_firstLine, "<ol start{{=}}""0"" style=""column-count: 3"">"]; _cfgFonts = configProperties [configfile >> "cfgfontfamilies","isclass _x"]; _cfgFonts apply { _s pushBack format["<li>%1</li>", configName _x]; }; _s pushBack "</ol>"; _s = _s joinString endl; copyToClipboard _s; _s;