Difference between revisions of "GetFontHeight"
From King Arthur's Gold Wiki
Shadlington (Talk | contribs) (Created page with "<onlyinclude> Returns the font height as an integer (s32). </onlyinclude> <syntaxhighlight lang="cpp"> s32 FontHeight() </syntaxhighlight> Category:Scripting [[Category:Glob...") |
Shadlington (Talk | contribs) m (moved FontHeight to GetFontHeight) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
Returns the font height as an integer (s32). | Returns the font height as an integer (s32). | ||
</onlyinclude> | </onlyinclude> | ||
+ | |||
+ | This is client only - it should be wrapped in "if ( getNet().isClient() )" or be in a client-only script. | ||
+ | |||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
− | s32 | + | s32 getFontHeight() |
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Scripting]] | [[Category:Scripting]] | ||
[[Category:Global Functions]] | [[Category:Global Functions]] |
Latest revision as of 21:51, 6 September 2012
Returns the font height as an integer (s32).
This is client only - it should be wrapped in "if ( getNet().isClient() )" or be in a client-only script.
s32 getFontHeight()