Game: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
Mick (talk | contribs)
Added functions without any description
 
Darkgrey (talk | contribs)
Line 38: Line 38:
=== GetCVar ===
=== GetCVar ===
'''Definition:'''<br>
'''Definition:'''<br>
GetCVar() -> ?
GetCVar(string name) => result<br>
<br><br>
<br>
'''Description:''' <br>
'''Description:''' <br>
 
Returns the value of a C variable(?)<br>
<br><br>
I'm assuming that the term CVar refers to an ingame variable not directly accessible by Lua<br>
<br>
'''Arguments:''' <br>
'''Arguments:''' <br>
?
'''name''' name of the variable.<br>
<br><br>
<br>
'''Returns:''' <br>
'''Returns:''' <br>
?
The value or nil(?)
<br><br>
<br>
'''Example:'''
'''Example:'''
<br><br>
<source lang="lua">
 
Game.GetCVar('rRenderStationInMenu') = 1
 
Game.GetCVar('autoaim') = 1
</source>


=== GetClientBuildNumber ===
=== GetClientBuildNumber ===

Revision as of 16:21, 2 March 2009

Functions

DisableInput

Definition:
DisableInput() -> ?

Description:



Arguments:
?

Returns:
?

Example:


EnableInput

Definition:
EnableInput() -> ?

Description:



Arguments:
?

Returns:
?

Example:


GetCVar

Definition:
GetCVar(string name) => result

Description:
Returns the value of a C variable(?)
I'm assuming that the term CVar refers to an ingame variable not directly accessible by Lua

Arguments:
name name of the variable.

Returns:
The value or nil(?)
Example: <source lang="lua"> Game.GetCVar('rRenderStationInMenu') = 1 Game.GetCVar('autoaim') = 1 </source>

GetClientBuildNumber

Definition:
GetClientBuildNumber() -> ?

Description:



Arguments:
?

Returns:
?

Example:


GetDesiredSpeed

Definition:
GetDesiredSpeed() -> ?

Description:



Arguments:
?

Returns:
?

Example:


GetFlightMode

Definition:
GetFlightMode() -> ?

Description:



Arguments:
?

Returns:
?

Example:


GetNFZMode

Definition:
GetNFZMode() -> ?

Description:



Arguments:
?

Returns:
?

Example:


GetObjectAtScreenPos

Definition:
GetObjectAtScreenPos() -> ?

Description:



Arguments:
?

Returns:
?

Example:


GetTurretHealth

Definition:
GetTurretHealth() -> ?

Description:



Arguments:
?

Returns:
?

Example:


GetTurretObjectID

Definition:
GetTurretObjectID() -> ?

Description:



Arguments:
?

Returns:
?

Example:


Quit

Definition:
Quit() -> ?

Description:



Arguments:
?

Returns:
?

Example:


SetCVar

Definition:
SetCVar() -> ?

Description:



Arguments:
?

Returns:
?

Example:


SetDesiredSpeed

Definition:
SetDesiredSpeed() -> ?

Description:



Arguments:
?

Returns:
?

Example:


SetInputMode

Definition:
SetInputMode() -> ?

Description:



Arguments:
?

Returns:
?

Example:


SetJumpDest

Definition:
SetJumpDest() -> ?

Description:



Arguments:
?

Returns:
?

Example:


StartLoginCinematic

Definition:
StartLoginCinematic() -> ?

Description:



Arguments:
?

Returns:
?

Example:


StopLoginCinematic

Definition:
StopLoginCinematic() -> ?

Description:



Arguments:
?

Returns:
?

Example: