HudSProtect

From the Oblivion ConstructionSet Wiki
Revision as of 15:20, 24 November 2008 by imported>Haama (Created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Pluggy.

Syntax:

(Protected:bool) HudSProtect 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 string does not exist, it returns -1.