ObjectToString(object)

Converts an object into a hexadecimal string.

string ObjectToString(
    object oObject
);

Parameters

oObject

The object to convert into a string.


Description

Convert oObject into a hexadecimal string for use in debug messages.



Remarks

This is totally unique - no other object (at the exact time) will have that reference.

It is insanely useful - more so then GetName() and GetTag() to debug exact object's scripts - ObjectToString(OBJECT_SELF) can return an object string for anything. Because it is unique, it can pinpoint exact problems in large scripting tasks.


Version

1.22

See Also

categories: Debug Functions


 author: Tom Cassiotis, editor: Jasperre