GetIsInSubArea(object, object)

Checks if a creature has triggered an OnEnter event

int GetIsInSubArea(
    object oCreature,
    object oSubArea = OBJECT_SELF
);

Parameters

oCreature

Creature to check

oSubArea

Subarea to check (Default: OBJECT_SELF)


Description

Is this creature in the given subarea? (trigger, area of effect object, etc..)

This function will tell you if the creature has triggered an onEnter event, not if it is physically within the space of the subarea.



Version

1.61

See Also

categories: Get Data from Creature Functions | Get Data from Object Functions


 author: Lilac Soul