GetSittingCreature(object)

Determines which creature sitting on a particular object.

object GetSittingCreature(
    object oChair
);

Parameters

oChair

The object to check if any creature is sitting on it.


Description

Returns the creature that is currently sitting on the oChair

Returns OBJECT_INVALID if oChair is not a valid placeable or no creature is sitting on oChair.



Version

1.22

See Also

categories: Get Data from Object Functions


 author: Tom Cassiotis
 Send comments on this topic.