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 fireWorldWep: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 Added bz_fireWorldWep  | 
				mNo edit summary  | 
				||
| 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 ???