BIS fnc 3DENDiagFonts: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "Category:Eden Editor" to "Eden Editor")
 
(49 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.56


|1.56|Game version=
|gr1= Eden Editor


|gr1= Eden Editor|GROUP1=
|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 <sqf inline>configFile >> "CfgFontFamilies"</sqf>.<br>
| [[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 {{Inline code|[[configFile]] >> "CfgFontFamilies"}}.<br>
Fonts for {{GVI|arma3|2.00}}:
Fonts for {{GVI|arma3|2.00}}:
<ol start{{=}}"0">
<ol start="0" style="column-count: 3">
<li>LucidaConsoleB</li>
<li>LucidaConsoleB
<li>TahomaB</li>
<li>TahomaB
<li>EtelkaMonospacePro</li>
<li>EtelkaMonospacePro
<li>LCD14</li>
<li>LCD14
<li>EtelkaMonospaceProBold</li>
<li>EtelkaMonospaceProBold
<li>EtelkaNarrowMediumPro</li>
<li>EtelkaNarrowMediumPro
<li>PuristaBold</li>
<li>PuristaBold
<li>PuristaLight</li>
<li>PuristaLight
<li>PuristaMedium</li>
<li>PuristaMedium
<li>PuristaSemibold</li>
<li>PuristaSemibold
<li>RobotoCondensed</li>
<li>RobotoCondensed
<li>RobotoCondensedBold</li>
<li>RobotoCondensedBold
<li>RobotoCondensedLight</li>
<li>RobotoCondensedLight
<li>Caveat</li>
<li>Caveat
</ol>
</ol>
|Description=


| fontID call [[BIS_fnc_3DENDiagFonts]]; |Syntax=
|s1= fontID call [[BIS_fnc_3DENDiagFonts]]
|p1= fontID: [[Number]] |Parameter 1=


| [[Nothing]] |Return value=
|p1= fontID: [[Number]]


|x1= <code>2 [[call]] [[BIS_fnc_3DENDiagFonts]];</code> |Example1=
|r1= [[Nothing]]


|[[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]]|See also=
|x1= <sqf>2 call BIS_fnc_3DENDiagFonts;</sqf>
 
|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]]
}}
}}


<h3 style="display:none">Notes</h3>
{{Note
<dl class="command_description">
|user= 7erra
<!-- Note Section BEGIN -->
|timestamp= 20201101153600
 
|text= Code used to generate list:
<!-- Note Section END -->
<sqf>
</dl>
_version = str(productVersion select 2);
 
_version = format["%1.%2", _version select [0,1], _version select [1, count _version]];
<h3 style="display:none">Bottom Section</h3>
_firstLine = format ["Fonts for {{GVI|arma3|%1}}:
[[Category:Functions|{{uc:3DENDiagFonts}}]]
", _version];
[[Category:{{Name|arma3}}: Functions|{{uc:3DENDiagFonts}}]]
_s = [_firstLine, "<ol start{{=}}""0"" style=""column-count: 3"">"];
 
_cfgFonts = configProperties [configfile >> "cfgfontfamilies","isclass _x"];
<!-- CONTINUE Notes -->
_cfgFonts apply {
<dl class="command_description">
_s pushBack format["<li>%1</li>", configName _x];
<dd class="notedate">Posted on November 1, 2020 - 15:36 (UTC)</dd>
<dt class="note">[[User:7erra|7erra]]</dt>
<dd class="note">
Code used to generate list:
<code>_version [[a = b|=]] [[str]]([[productVersion]] [[select]] 2);
_version [[a = b|=]] [[format]]["%1.%2", _version [[select]] [0,1], _version [[select]] [1, [[count]] _version]];
_firstLine [[a = b|=]] [[format]] ["Fonts [[for]] <nowiki>{{GVI|arma3|%1}}</nowiki>:<br>", _version];
_s [[a = b|=]] [_firstLine, <nowiki>"<ol start{{=}}""0"">"</nowiki>];
_cfgFonts [[a = b|=]] [[configProperties]] [configfile [[config greater greater name|>>]] "cfgfontfamilies","[[isclass]] [[_x]]"];
_cfgFonts [[apply]] {
_s [[pushBack]] [[format]][<nowiki>"<li>%1</li>"</nowiki>, [[configName]] _x];
};
};
_s [[pushBack]] <nowiki>"</ol>"</nowiki>;
_s pushBack "</ol>";
_s [[a = b|=]] _s [[joinString]] [[endl]];
_s = _s joinString endl;
[[copyToClipboard]] _s;
copyToClipboard _s;
_s</code>
_s;
</dd>
</sqf>
</dl>
}}
<!-- DISCONTINUE Notes -->

Latest revision as of 13:27, 9 July 2023

Hover & click on the images for description

Description

Description:
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 configFile >> "CfgFontFamilies".
Fonts for Arma 3 logo black.png2.00:

  1. LucidaConsoleB
  2. TahomaB
  3. EtelkaMonospacePro
  4. LCD14
  5. EtelkaMonospaceProBold
  6. EtelkaNarrowMediumPro
  7. PuristaBold
  8. PuristaLight
  9. PuristaMedium
  10. PuristaSemibold
  11. RobotoCondensed
  12. RobotoCondensedBold
  13. RobotoCondensedLight
  14. Caveat
Execution:
call
Groups:
Eden Editor

Syntax

Syntax:
fontID call BIS_fnc_3DENDiagFonts
Parameters:
fontID: Number
Return Value:
Nothing

Examples

Example 1:
2 call BIS_fnc_3DENDiagFonts;

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
7erra - c
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;