Difference between revisions of "Bz fireWorldGM"

From BZFlagWiki
Jump to: navigation, search
(Added bz_fireWorldGM)
 
(dt = delay time)
Line 19: Line 19:
 
| param6        = dt
 
| param6        = dt
 
| param6type    = float
 
| param6type    = float
| param6desc    = Dont know what this is!
+
| param6desc    = Delay time. How many seconds to wait before firing the GM.
 
}}
 
}}

Revision as of 02:18, 5 April 2010

void bz_fireWorldGM (int targetPlayerID, float lifetime, float *pos, float tilt, float direction, float dt)


Fires a Guided Missile at a player.

Parameters:
targetPlayerID  -  Player to fire the GM at.
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)
dt  -  Delay time. How many seconds to wait before firing the GM.