VP_EVENT_AVATAR_CLICK

From Virtual Paradise Wiki
Jump to navigation Jump to search
Event set and handler snippet

vp_event_set(instance, VP_EVENT_AVATAR_CLICK, event_avatar_click);

void event_avatar_click(VPInstance instance) { }

Received when an avatar is clicked by a client in the current world.

Attributes

Attribute Usage
VP_AVATAR_SESSION Session ID of avatar's clicker
VP_CLICKED_SESSION Session ID of the clicked avatar
VP_CLICK_HIT_X X coordinate of click
VP_CLICK_HIT_Y Y coordinate of click
VP_CLICK_HIT_Z Z coordinate of click

Behavior

  • This event is sent regardless of the receiver's distance relative to the clicked avatar or the clicker (i.e. global)

Examples

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