GetObjectHeard
From NWN Lexicon
Contents |
[edit] GetObjectHeard(object, object)
Determines if an object can hear another object.
int GetObjectHeard( object oTarget, object oSource = OBJECT_SELF );
[edit] Parameters
oTarget
The object that may be heard.
oSource
The object that is doing the listening (Default: OBJECT_SELF)
[edit] Description
Determines whether oSource hears oTarget.
[edit] Remarks
Only creatures are valid for oTarget and oSource. If any other type is put into either, it will always return FALSE.
[edit] Version
1.64
[edit] See Also
author: Tom Cassiotis, editor: Jasperre, additional contributor(s): Jasperre