Difference between revisions of "HudSProtect"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Mannimarco10
imported>Shademe
(Removed FeatNom tag | No reason provided)
 
Line 1: Line 1:
{{FeatNom}}
A command for [[:Category: Pluggy|Pluggy]].
A command for [[:Category: Pluggy|Pluggy]].



Latest revision as of 09:12, 7 January 2009

A command for Pluggy.

Syntax:

For HudS (Surface/Image)

(Protected:bool) HudSProtect HudID:long Protected:bool Global:bool

For HudT (Text)

(Protected:bool) HudTProtect HudID:long Protected:bool Global:bool

Returns or sets the protected status of the Hud. If protected is set to non-0, it will be write-protected from other mods, and only the associated mod will ever be able to modify the Hud. Setting Protected to 1 is recommended if you don’t want your Hud to be modified by another mod.

  • If Protected is not specified, it returns the current state.
  • If Protected is specified, it set the state and returns the new state.
  • If the Hud does not exist, it returns -1.