Function; CPU_GetVar - HWRM/KarosGraveyard GitHub Wiki
CPU_GetVar(<iPlayerIndex>, <sGlobalVariable>)
Description
Return the number value of a global variable from a particular CPU player's script. For string variables, use CPU_GetVarString
Example
CPU_GetVar(1,"g_LOD")
Arguments
- <iPlayerIndex>: the index number of the CPU player.
- <sGlobalVariable>: the name of the variable, in string.
Related Pages
Comments
Page Status
Updated Formatting? Initial
Updated for HWRM? Initial