ScriptEvent:getSurfaceId

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

Parameters

string name -- Name of the surface to look up.

Result

float

Supported By

idAnimatedEntity

Comments

  • If the surface cannot be found, the result will be -1.

Functionality

Returns the index of the surface with the given name.