HudS SclX

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Pluggy.

Syntax:

For HudS (Surface/Image)

(X:float) HudS_SclX HudID:long ScaleX:float Relative:bool Global:bool

For HudT (Text)

(X:float) HudT_SclX HudID:long ScaleX:float Relative:bool Global:bool

Returns or sets the X-Scale of the Hud.

  • If X-Scale is not specified, it returns the X-Scale of the Hud.
  • If X-Scale is specified, it sets the X-Scale of the Hud.
    • If Relative is set to non-0, the scale will be relative to the Hud's current X-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.