readonly int Object.ID
Gets the object's ID number. This is the object's number from the editor, and is
useful if you need to interoperate with legacy code that uses the object's number
rather than name.
Example:
MoveObject(oRock.ID, 100, 50, 5);
uses the obsolete MoveObject function to move the Rock object to (100, 50) at speed 5.
|