class documentation

class Object: (source)

View In Hierarchy

A Object is a immutable reference to a game object in the world. This maps directly to the nwscript object type.

Method __bool__ Objects are truthy if they're not INVALID, even if the reference itself is dangling in game logic.
Method __eq__ Undocumented
Method __post_init__ Undocumented
Method __repr__ Undocumented
Constant INVALID Invalid is 0x7F000000 in nwscript.
Constant SELF SELF is a placeholder for the calling object in a script.
Class Variable id Undocumented
def __bool__(self): (source)

Objects are truthy if they're not INVALID, even if the reference itself is dangling in game logic.

def __eq__(self, other): (source)

Undocumented

def __post_init__(self): (source)

Undocumented

def __repr__(self): (source)

Undocumented

Invalid is 0x7F000000 in nwscript.

Value
None

SELF is a placeholder for the calling object in a script.

This has no meaning outside of a script context and is not a real reference.

Value
_ObjectSelf()

Undocumented