VP EVENT TELEPORT

From Virtual Paradise Wiki
Revision as of 04:09, 25 August 2013 by Roy Curtis (talk | contribs) (subst example)
Jump to navigation Jump to search

{{sdk event page|Teleport|A request for the receiving client to teleport to a location, sent to the client from a vp_teleport() call. |attributes=

 |-

|

VP_AVATAR_SESSION

|| Source session ID of the teleport request ||

 |-

|

VP_TELEPORT_X

|| Destination X coordinate ||

 |-

|

VP_TELEPORT_Y

|| Destination Y coordinate ||

 |-

|

VP_TELEPORT_Z

|| Destination Z coordinate ||

 |-

|

VP_TELEPORT_PITCH

|| Destination pitch rotation ||

 |-

|

VP_TELEPORT_YAW

|| Destination yaw rotation ||

 |-

|

VP_TELEPORT_WORLD

|| Destination world ||

|behavior=

  • If VP_TELEPORT_WORLD is a blank string, it should be assumed that the client use its current world
  • This event is only broadcasted to the target session; no other sessions will see it
  • The teleport is not enforced by the server; the client may ignore the event

|examples= {{subst:sdk minimal example)) |seealso= }}