GetObjectType

From Dragon Age Toolset Wiki
Jump to: navigation, search

Returns an object's type.

int GetObjectType(
object oObject
);
Parameters:
oObject
the object to get the type of
Returns:

One of the object type constants (OBJECT_TYPE_*) or OBJECT_TYPE_INVALID on failure.

Source:

script.ldf

Description

Returns the object type of the object oObject. Object types are constants (OBJECT_TYPE_*). Returns OBJECT_TYPE_INVALID on failure.