This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Bz eShotTeleportEvent: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Mrapple (talk | contribs)
bz_eShotTeleportEvent
 
Zehra (talk | contribs)
redirect, since events are in official docs
Tag: New redirect
 
Line 1: Line 1:
{{BZFS_API_Doc}}
#REDIRECT [[Category:BZFS API Docs]]
{{BZFS_API_Events}}
 
==Overview==
The '''bz_eShotTeleportEvent''' is an API event that is called each time a shot teleports via a teleporter.
==Data==
'''bz_eShotTeleportEvent''' returns the '''bz_ShotTeleportEventData_V1''' data class.
 
  {| border="1" cellpadding="20" cellspacing="0"
  !name
  !type
  !value description
  |-
  |eventType   
  |[[Event(API)|bz_eEventType]]
  |bz_eShotTeleportEvent
  |-
  |playerID
  |int
  |ID of the player whos shot was teleported
  |-
  |shotID
  |int
  |ID of the shot that teleported
  |-
  |type
  |[[bz_APIString]]
  |What type the shot was
  |-
  |pos
  |float[3]
  |Where the shot teleported
  |-
  |linkSrcID
  |int
  |ID of the teleporter the shot went into
  |-
  |linkDstID
  |int
  |ID of the teleporter the shot came out of
  |}
==Usage==
Data returned can not be modified.

Latest revision as of 02:25, 27 November 2025