AW_EVENT_AVATAR_DELETE

DESCRIPTION

Event called when an avatar leaves the scene.

NOTES

In order to receive this event, you must first announce your position by calling aw_state_change at least once.  You will not receive this event for an avatar until you have first received the event AW_EVENT_AVATAR_ADD.

Within the context of this event the following attributes are defined:

AW_AVATAR_SESSION
AW_AVATAR_NAME

EXAMPLE

void avatar_delete (void)
{

  printf ("%s has left the scene\n", aw_string (AW_AVATAR_NAME));
}

aw_event_set (AW_EVENT_AVATAR_DELETE, avatar_delete);

SEE ALSO

aw_state_change
AW_EVENT_AVATAR_ADD
AW_EVENT_AVATAR_CHANGE
AW_EVENT_CHAT