ScriptEvent:allocHudModule

From Mod Wiki
Revision as of 10:56, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

string gui -- Name of the gui to use.
integer sort -- Sort value to use.
boolean allowInhibit -- Whether this overlay will be disabled along with the rest of the hud.

Result

integer

Supported By

sdSysCallThread

Comments

  • If allowInhibit is enabled, the overlay will not be drawn if hud drawing is disabled.
  • The result may be used in calls to setGUIFloat, etc.

Functionality

Allocates a hud overlay using the specified gui.