GetObjectSeen
From NWN Lexicon
Contents |
[edit] GetObjectSeen(object, object)
Determines whether an object sees another object.
int GetObjectSeen( object oTarget, object oSource = OBJECT_SELF );
[edit] Parameters
oTarget
Object to determine if it is seen.
oSource
Object that is doing the looking. (Default: OBJECT_SELF)
[edit] Description
Determines whether oSource sees oTarget. Returns TRUE if oSource sees oTarget, FALSE otherwise. If oTarget is a placeable object, this function always returns FALSE.
[edit] Remarks
Only creatures are valid for oTarget and oSource. Any other type of object will return FALSE.
[edit] Version
1.64
[edit] See Also
author: Tom Cassiotis, editor: Jasperre, additional contributor(s): David Etheredge, Charles Feduke, Jasperre