Difference between revisions of "HudS L"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
m (Layer, not location)
imported>Haama
(500 is not assumed)
 
Line 8: Line 8:
  (X:float) HudT_L HudID:long ''Layer:long'' ''Relative:bool'' ''Global:bool''
  (X:float) HudT_L HudID:long ''Layer:long'' ''Relative:bool'' ''Global:bool''


Returns or sets the "layer level" of the Hud. Levels are from 1 to 1000, 1000 being the "closest of the screen". It's mostly to be used when you want certain HudS to be on top on the others. 500 is assumed.
Returns or sets the "layer level" of the Hud. Levels are from 1 to 1000, 1000 being the "closest of the screen". It's mostly to be used when you want certain HudS to be on top on the others.
*If Layer is not specified, it returns the Layer of the Hud.
*If Layer is not specified, it returns the Layer of the Hud.
*If Layer is specified, it sets the Layer of the Hud.
*If Layer is specified, it sets the Layer of the Hud.

Latest revision as of 19:37, 24 November 2008

A command for Pluggy.

Syntax:

For HudS (Surface/Image)

(X:float) HudS_L HudID:long Layer:long Relative:bool Global:bool

For HudT (Text)

(X:float) HudT_L HudID:long Layer:long Relative:bool Global:bool

Returns or sets the "layer level" of the Hud. Levels are from 1 to 1000, 1000 being the "closest of the screen". It's mostly to be used when you want certain HudS to be on top on the others.

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