int aw_whisper (int session, char* message)

DESCRIPTION

Whispers the message to just the session.

CALLBACK

None (returns immediately)

NOTES

Before calling aw_whisper your program must call aw_state_change at least once to establish your position within the world.

EXAMPLE

/* whisper a welcome message to every avatar that enters the scene */

void avatar_add (void)
{

  char		message[256];

  sprintf (message, "Hello %s, welcome to my world :-)", 
    aw_string (AW_AVATAR_NAME));
  aw_whisper (aw_int (AW_AVATAR_SESSION), message);
}

aw_event_set (AW_EVENT_AVATAR_ADD, avatar_add);
aw_state_change ();
for (;;)
  if (aw_wait (1000))
    break;

SEE ALSO

aw_say