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
Brad (talk | contribs)
dt = delay time
L4m3r (talk | contribs)
added shot team param
Line 20: Line 20:
| param6type    = float
| param6type    = float
| param6desc    = Delay time. How many seconds to wait before firing the GM.
| param6desc    = Delay time. How many seconds to wait before firing the GM.
| param7        = shotTeam
| param7type    = bz_eTeamType
| param7desc    = Team color of the missile. (Rogue by default)
}}
}}

Revision as of 07:20, 16 February 2012

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


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.
shotTeam  -  Team color of the missile. (Rogue by default)