API_DOCS: Collision Event

Questions, comments, and news on the server side plug-ins and it's API
Post Reply
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

API_DOCS: Collision Event

Post by JeffM »

in 2.1 there is a collision handler for the freeze tag game mode.
this has been exported to the API so that plug-ins may override the default behavior.

Event: bz_ePlayerCollision
Data: bz_PlayerCollisionEventData_V1'
Members
  • int players[2]; // the 2 players that hit
  • float position[3]; // the location of the hit
  • float time; // when they hit
  • bool handled; //set to true if you want to override the default behavor
this is in SVN trunk only.
ImageJeffM
Post Reply