AW MY STATE
Minimum requirements | ||
---|---|---|
Added in version 3.4 | ||
SDK | build 29 | |
World | build 50 | |
Browser | build 445 |
AW_MY_STATE
Type
Integer
Description
Your avatar's state.
Notes
Possible states for an avatar, as defined in Aw.h:
- AW_AVATAR_STATE_WALKING (0)
- Walking or standing still.
- AW_AVATAR_STATE_RUNNING (1)
- Running.
- AW_AVATAR_STATE_FLYING (2)
- Flying or hovering.
- AW_AVATAR_STATE_SWIMMING (3)
- Swimming or floating.
- AW_AVATAR_STATE_FALLING (4)
- Falling down.
- AW_AVATAR_STATE_JUMPING (5)
- Jumping up.
- AW_AVATAR_STATE_WARPING (6)
- Teleport warp.
- AW_AVATAR_STATE_RIDING (7)
- Riding a mover.
- AW_AVATAR_STATE_SLIDING1 (8)
- Slope angle is greater than the minimum slope angle and less than half the difference between min and max slope angle. Upper limit = min_slope + ((max_slope - min_slope) / 2).
- AW_AVATAR_STATE_SLIDING2 (9)
- Slope angle is less than the maximum slope angle, but greater than half the difference between min and max slope angle.
- AW_AVATAR_STATE_SLIDING3 (10)
- Sliding down steep terrain and the slope angle is higher than the maximum slope angle.
- AW_AVATAR_STATE_CLIMBING (11)
- Slope angle is too steep to walk (greater max-slope angle) and the jump key is hit.