GetObjectType

From Dragon Age Toolset Wiki
Revision as of 18:49, 2 March 2010 by BryanDerksen (Talk | contribs) (looks okay, removing tag)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.