ObjectToString

From NWN Lexicon



Contents

[edit] ObjectToString(object)

Converts an object into a hexadecimal string.

string ObjectToString(
    object oObject
);

[edit] Parameters

oObject

The object to convert into a string.


[edit] Description

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



[edit] 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.


[edit] Version

1.22

[edit] See Also



 author: Tom Cassiotis, editor: Jasperre
 

Personal tools
Categories