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 eShotRicochetEvent: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Mrapple (talk | contribs)
bz_eShotRicochetEvent
 
Zehra (talk | contribs)
redirect, since events are in official docs
Tag: New redirect
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{BZFS_API_Doc}}
#REDIRECT [[Category:BZFS API Docs]]
{{BZFS_API_Events}}
 
==Overview==
The '''bz_eShotRicochetEvent''' is an API event that is called each time a shot ricochetes.
==Data==
'''bz_eShotRicochetEvent''' returns the '''bz_ShotRicochetEventData_V1''' data class.
 
  {| border="1" cellpadding="20" cellspacing="0"
  !name
  !type
  !value description
  |-
  |eventType   
  |[[Event(API)|bz_eEventType]]
  |bz_eShotRicochetEvent
  |-
  |playerID
  |int
  |ID of the player whos shot ricocheted
  |-
  |shotID
  |int
  |ID of the shot that ricocheted
  |-
  |type
  |[[bz_APIString]]
  |What type the shot was
  |-
  |pos
  |float[3]
  |Where the shot ricocheted
  |-
  |obstacleGUID
  |unsigned int
  |ID of what obstacle the shot ricocheted off of
  |}
==Usage==
Data returned can not be modified.

Latest revision as of 02:25, 27 November 2025