ScriptEvent:getGUI

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

Parameters

string name -- key of the GUI to look up.

Result

integer

Supported By

idEntity

Comments

  • Key may be one of the following:
  • '0': Returns the first entity GUI.
  • '1': Returns the secpnd entity GUI.
  • '2': Returns the third entity GUI.
  • 'scoreboard': Returns the global scoreboard GUI.
  • 'hud': Returns the global hud GUI.

Functionality

Returns a handle to the specified GUI on the entity, or a global one.