Difference between revisions of "ScriptEvent:allocHudModule"

From Mod Wiki
m
 
(No difference)

Latest revision as of 10:56, 5 November 2007

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.