Editing Bz fireWorldGM

Jump to: navigation, search

Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.

The administrator who locked it offered this explanation: Server migration

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
{{BZFS_API_Doc}}
+
{{apicall
{{BZFS_API_Funcs}}
+
| name          = bz_fireWorldGM
==Prototype==
+
| description  = Fires a Guided Missile at a player.
BZF_API bool bz_fireWorldGM ( int targetPlayerID, float lifetime, float *pos, float tilt, float direction, float dt , bz_eTeamType shotTeam = eRogueTeam );
+
| param1        = targetPlayerID
 
+
| param1type    = int
==Parameters==
+
| param1desc    = Player to fire the GM at.
{| border="1" cellpadding="20" cellspacing="0"
+
| param2        = lifetime
  !name
+
| param2type    = float
  !type
+
| param2desc    = How long the world weapon will "live".
  !value desription
+
| param3        = *pos
  |-
+
| param3type    = float
  |targetPlayerID
+
| param3desc    = Position the world weapon will fire from.
  |int
+
| param4        = tilt
  |Player to fire the GM at.
+
| param4type    = float
  |-
+
| param4desc    = The tilt of the weapon.
  |lifetime
+
| param5        = direction
  |float
+
| param5type    = float
  |How long the world weapon will "live".
+
| param5desc    = The direction of which to fire the world weapon. (rotation)
  |-
+
| param6        = dt
  |*pos  
+
| param6type    = float
  |float
+
| param6desc    = Delay time. How many seconds to wait before firing the GM.
  |Position the world weapon will fire from.
+
| param7        = shotTeam
  |-
+
| param7type    = bz_eTeamType
  |tilt  
+
| param7desc    = Team color of the missile. (Rogue by default)
  |float
+
}}
  |The tilt of the weapon in radians.
+
  |-
+
  |direction
+
  |float
+
  |The direction of which to fire the world weapon in radians. (rotation)
+
  |-
+
  |dt
+
  |float
+
  |Delay time. How many seconds the weapon waits before firing.
+
  |-
+
  |shotTeam
+
  |bz_eTeamType
+
  |Team color of the weapon. (Rogue by default)
+
  |}
+
 
+
==Description==
+
Fires a Guided Missile at a player.
+

Please note that all contributions to BZFlagWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BZFlagWiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)

Templates used on this page: