GetObjectName

Description

Returns the name of the object as defined in the model file. This is useful when using LoadObjectWithChildren to identify child objects which can be accessed with GetObjectChildID.
If you are calling this command from Tier 2 then the returned string must be deleted with agk::DeleteString when you are done with it.

Definition

string GetObjectName( objID )

Parameters