Difference between revisions of "ScriptEvent:getGUI"

From Mod Wiki
 
(No difference)

Latest revision as of 16:39, 5 November 2007

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.