This wiki is archived and useful information is being migrated to the main bzflag.org website
Difference between revisions of "Bz fireWorldWep"
From BZFlagWiki
(Added bz_fireWorldWep) |
m |
||
Line 24: | Line 24: | ||
| param7desc = What is this ??? | | param7desc = What is this ??? | ||
}} | }} | ||
− | |||
− |
Revision as of 23:53, 30 December 2008
void bz_fireWorldWep (const char* flagType, float lifetime, float *pos, float tilt, float direction, int shotID, float dt)
Fires a world weapon.
Parameters:
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 ???