From BZFlagWiki
Revision as of 23:53, 30 December 2008 by Yassen (Talk | contribs)

Jump to: navigation, search

void bz_fireWorldWep (const char* flagType, float lifetime, float *pos, float tilt, float direction, int shotID, float dt)

Fires a world weapon.

flagType  -  Flag type the world weapon will fire with.
lifetime  -  How long the world weapon will "live".
*pos  -  Position the world weapon will fire from.
tilt  -  The tilt of the weapon.
direction  -  The direction of which to fire the world weapon. (rotation)
shotID  -  Shot ID of the world weapon. Each shot is given a unique shot ID which helps for collision detection (?).
dt  -  What is this ???