AW AVATAR FLAGS

From ActiveWiki
Jump to navigation Jump to search


Minimum requirements
Added in version 4.1
SDKbuild 53


AW_AVATAR_FLAGS

Type

Integer

Description

Specifies the attributes to be set for the avatar of a user.

Notes

This is used by aw_avatar_set to force users into changing the specified attributes of their avatar.

Range

This attribute can be set to any combination of the following flags:

AW_AVATAR_SET_POSITION
Set AW_AVATAR_X, AW_AVATAR_Y, AW_AVATAR_Z, AW_AVATAR_YAW and AW_AVATAR_PITCH.
AW_AVATAR_SET_TYPE
Set AW_AVATAR_TYPE.
AW_AVATAR_SET_GESTURE
Set AW_AVATAR_GESTURE.
AW_AVATAR_SET_STATE
Set AW_AVATAR_STATE.

If set to AW_AVATAR_SET_NONE (0) then it defaults to AW_AVATAR_SET_GESTURE | AW_AVATAR_SET_TYPE.

Note that there is no flag for AW_AVATAR_LOCK which is always set.

Usage

Set the position of an avatar.

aw_int_set (AW_AVATAR_FLAGS, AW_AVATAR_SET_POSITION);

Set the type, gesture and state of an avatar.

aw_int_set (AW_AVATAR_FLAGS, AW_AVATAR_SET_TYPE | AW_AVATAR_SET_GESTURE | AW_AVATAR_SET_STATE);

Used by