IsInConversation(object)

Determines whether an object is in conversation.

int IsInConversation(
    object oTarget
);

Parameters

oTarget

Object to check.


Description

This function returns TRUE or FALSE based on the conversation state of the target. Use this function to conditionally execute behavior based on the target's conversation status.



Version

1.22

Example

if (IsInConversation(OBJECT_SELF))
{
   // Do some stuff while talking
}
else
{
   //Do some stuff while not talking
} 

See Also

functions: GetLastSpeaker
categories: Conversation Functions


 author: Michael Nork, editor: Jeff Lindsey