GetObjectProperty


Sets the result variable to an object's property.


Syntax:

getObjectProperty [object] [property]


Examples:

getObjectProperty player xpos

getObjectProperty enemy health