This wiki is archived and useful information is being migrated to the main bzflag.org website

Difference between revisions of "Bz getBZDBDouble"

From BZFlagWiki
Jump to: navigation, search
(Add bz_getBZDBDouble)
 
(Add bz_getBZDBDouble)
 
Line 5: Line 5:
 
| param1type    = const char*
 
| param1type    = const char*
 
| param1desc    = Variable to get the value of.
 
| param1desc    = Variable to get the value of.
 +
| returntype    = double
 
| returns      = The value of the variable.
 
| returns      = The value of the variable.
 
}}
 
}}

Latest revision as of 00:03, 31 December 2008

double bz_getBZDBDouble (const char* variable)


Returns the value of a variable. (ex. _shotSpeed, _tankSpeed, ect)

Parameters:
variable  -  Variable to get the value of.
Returns:
The value of the variable.