HudS L

Revision as of 19:37, 24 November 2008 by imported>Haama (500 is not assumed)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

NotesEdit

  • 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.