GetObjectSeen(object, object)

Determines whether an object sees another object.

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

Parameters

oTarget

Object to determine if it is seen.

oSource

Object that is doing the looking. (Default: OBJECT_SELF)


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.



Remarks

Only creatures are valid for oTarget and oSource. Any other type of object will return FALSE.


Version

1.64

See Also

categories: Perception Functions


 author: Tom Cassiotis, editor: Jasperre, additional contributor(s): David Etheredge, Charles Feduke, Jasperre