VP_EVENT_AVATAR_CHANGE

From Virtual Paradise Wiki
Revision as of 09:13, 25 August 2013 by Roy Curtis (talk | contribs) (Created page with "{{sdk event page|avatar_change|This event is received when a client changes their position or type, typically through movement or teleportation within the Virtual Paradise cli...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Event set and handler snippet

vp_event_set(instance, VP_EVENT_AVATAR_CHANGE, event_avatar_change);

void event_avatar_change(VPInstance instance) { }

This event is received when a client changes their position or type, typically through movement or teleportation within the Virtual Paradise client.

Attributes

Attribute Usage
VP_AVATAR_SESSION Session ID of changing client
VP_AVATAR_TYPE Unknown
VP_AVATAR_NAME Name of changing client
VP_AVATAR_X Client's new X coordinate
VP_AVATAR_Y Client's new Y coordinate
VP_AVATAR_Z Client's new Z coordinate
VP_AVATAR_PITCH Client's new pitch rotation
VP_AVATAR_YAW Client's new yaw rotation

Behavior

  • This event is always sent to all clients in the same world, regardless of the receiver's position relative to the source.

Examples

This event has no usage examples; please add at least one to this page