GetHarescriptTypeIdByName (open)

Returns the type number from a type name

Syntax

// Core function, no LOADLIB necessary

INTEGER FUNCTION GetHarescriptTypeIdByName(STRING name)

Parameters

STRING name

Name of the type (case insensitive)

Return value

INTEGER

Type number of the type