Difference between revisions of "ScriptEvent:getSurfaceId"

From Mod Wiki
 
(No difference)

Latest revision as of 16:56, 5 November 2007

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.