HudS SclY
Revision as of 19:31, 24 November 2008 by imported>Haama (Created)
A command for Pluggy.
Syntax:
For HudS (Surface/Image)
(X:float) HudS_SclY HudID:long ScaleY:float Relative:bool Global:bool
For HudT (Text)
(X:float) HudT_SclY HudID:long ScaleY:float Relative:bool Global:bool
Returns or sets the Y-Scale of the Hud.
- If Y-Scale is not specified, it returns the Y-Scale of the Hud.
- If Y-Scale is specified, it sets the Y-Scale of the Hud.
- If Relative is set to non-0, the scale will be relative to the Hud's current Y-Scale.
- If you want to modify a Hud from another mod or "0" scripts (result scripts, console, batch scripts), you will need to set the Global flag to 1. If Global is 0 or unset the function will fail. If the Hud is protected the function will fail.
Notes[edit | edit source]
- Due to limitations of the Wiki software, the title of this article, and links to it, cannot display it correctly - there is an underscore (_) in the function's name.