ScriptEvent:getSurfaceId
From Mod Wiki
Parameters
string name -- Name of the surface to look up.
Result
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.