GetHarescriptTypeIdByName (open)

Returns the type number from a type name

Syntax

LOADLIB "wh::system.whlib";

INTEGER FUNCTION GetHarescriptTypeIdByName(STRING name)

Parameters

STRING name

Name of the type (case insensitive)

Return value

INTEGER

Type number of the type