AW_AVATAR_SESSION

TYPE

Integer (read only)

DESCRIPTION

Specifies an avatar's unique session number.

NOTES

Every user (and every bot) is assigned a unique session number at login.  This session number can be used by SDK applications to track individual users as they move around the scene.

Note that a new session number is assigned on every login.  This means that for example if a nearby user exits Active Worlds and then re-enters, they will appear with a new session number even though they are the same user as before.

EXAMPLE

void avatar_add (void)
{
  printf ("%s has session number %d\n", aw_string (AW_AVATAR_NAME),
    aw_int (AW_AVATAR_SESSION));

}

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

SEE ALSO

AW_EVENT_AVATAR_ADD
AW_EVENT_AVATAR_CHANGE
AW_EVENT_AVATAR_DELETE