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 fireWorldGM: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Yassen (talk | contribs)
Added bz_fireWorldGM
(No difference)

Revision as of 23:59, 30 December 2008

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  -  Dont know what this is!