This wiki is archived and useful information is being migrated to the main bzflag.org website
Editing Bz fireWorldWep
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: Archived wiki
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: | ||
− | {{ | + | {{apicall |
− | + | | name = bz_fireWorldWep | |
− | = | + | | description = Fires a world weapon. |
− | + | | param1 = flagType | |
− | + | | param1type = const char* | |
− | + | | param1desc = Flag type the world weapon will fire with. | |
− | + | | param2 = lifetime | |
− | + | | param2type = float | |
− | + | | param2desc = How long the world weapon will "live". | |
− | + | | param3 = *pos | |
− | + | | param3type = float | |
− | + | | param3desc = Position the world weapon will fire from. | |
− | + | | param4 = tilt | |
− | + | | param4type = float | |
− | + | | param4desc = The tilt of the weapon in radians. | |
− | + | | param5 = direction | |
− | + | | param5type = float | |
− | + | | param5desc = The direction of which to fire the world weapon in radians. (rotation) | |
− | + | | param6 = shotID | |
− | + | | param6type = int | |
− | + | | param6desc = Shot ID of the world weapon. Each shot is given a unique shot ID for shot tracking. | |
− | + | | param7 = dt | |
− | + | | param7type = float | |
− | + | | param7desc = Delay time. How many seconds the weapon waits before firing. | |
− | + | }} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |