addLiveStats: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|ADDLIVESTATS]]
[[Category:Scripting Commands|ADDLIVESTATS]]
[[Category:Scripting Commands OFP Elite |ADDLIVESTATS]]
[[Category:Scripting Commands OFP Elite |ADDLIVESTATS]]
[[Category:Scripting Commands ArmA|ADDLIVESTATS]]


<new command not populated>




<h2 style="color:#000066">''''' addLiveStats '''''</h2>
 
<h2 style="color:#000066">''unit''' ''''' addLiveStats '''''''score''</h2>




'''Operand types:'''
'''Operand types:'''
'''unit''': [[Object]]
'''score''': [[Number]]


'''Type of returned value:'''
'''Type of returned value:'''
[[Nothing]]


'''Compatibility:'''
'''Compatibility:'''
Version 2.10 required.


'''Description:'''
'''Description:'''
Xbox Live MP only: adds score to the Xbox Live Statistics score for the given unit (or the commander unit of the given vehicle).
'''Example''':
   
[[player]] '''addLiveStats''' 10




'''Example:'''
'''Example:'''

Revision as of 15:32, 6 July 2006



unit addLiveStats ''score


Operand types:

unit: Object

score: Number

Type of returned value:

Nothing

Compatibility:

Version 2.10 required.

Description:

Xbox Live MP only: adds score to the Xbox Live Statistics score for the given unit (or the commander unit of the given vehicle).

Example:

player addLiveStats 10


Example: