GetNextObjectInArea(object)

Determines the next object in an area.

object GetNextObjectInArea(
    object oArea = OBJECT_INVALID
);

Parameters

oArea

The area that contains the objects. (Default: OBJECT_INVALID)


Description

Returns the next object in oArea and OBJECT_INVALID if no more objects are found or on any errors.

If no valid area is specified, it will use the caller's area.



Remarks

You must call GetFirstObjectInArea with the same parameter before calling this function. Does not locate objects that are encounters. Encounters must be located directly by their tag.


Known Bugs

Creatures possessed by a DM are skipped.


Version

1.29

See Also

functions: GetFirstObjectInArea
categories: Area Functions


 author: Tom Cassiotis, editor: Charles Feduke, additional contributor(s): Enigmatic, Jazael
 Send comments on this topic.