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

From BZFlagWiki
Jump to navigation Jump to search
Mrapple (talk | contribs)
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_ePlayerCollision''' is an API event that is called each time two players collide.
==Data==
'''bz_ePlayerCollision''' returns the '''bz_PlayerCollisionEventData_V1''' data class.
 
  {| border="1" cellpadding="20" cellspacing="0"
  !name
  !type
  !value description
  |-
  |eventType   
  |[[Event(API)|bz_eEventType]]
  |bz_ePlayerCollision
  |-
  |players
  |int[2]
  |The players that have collided
  |-
  |pos
  |float[3]
  |The position of the collision
  |-
  |handled
  |bool
  |Whether or not the plug-in has handled the data
  |}
 
==Usage==
It appears this event is in BZFlag 2.99.x but has not been fully implemented and will probably never return data.

Latest revision as of 02:15, 27 November 2025