API_DOCS: Collision Event

Questions, comments, and news on the server side plug-ins and it's API
Post Reply
User avatar
Staff Sergeant
Staff Sergeant
Posts: 5193
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks

API_DOCS: Collision Event

Post by JeffM » Fri Apr 13, 2007 5:19 pm

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'
  • 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.

Post Reply