GetObjectHeard(object, object)

Determines if an object can hear another object.

int GetObjectHeard(
    object oTarget,
    object oSource = OBJECT_SELF
);

Parameters

oTarget

The object that may be heard.

oSource

The object that is doing the listening (Default: OBJECT_SELF)


Description

Determines whether oSource hears oTarget.



Remarks

Only creatures are valid for oTarget and oSource. If any other type is put into either, it will always return FALSE.


Version

1.64

See Also

categories: Perception Functions


 author: Tom Cassiotis, editor: Jasperre, additional contributor(s): Jasperre