addLiveStats: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - " |r1=[[" to " |r1= [[")
Line 26: Line 26:
|p2= score: [[Number]]
|p2= score: [[Number]]


|r1=[[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[player]] [[addLiveStats]] 10;</code>
|x1= <code>[[player]] [[addLiveStats]] 10;</code>

Revision as of 22:35, 7 August 2021

Hover & click on the images for description

Description

Description:
Adds score to the Xbox Live Statistics score for the given unit (or the commander unit of the given vehicle).
Groups:
System

Syntax

Syntax:
unit addLiveStats score
Parameters:
unit: Object
score: Number
Return Value:
Nothing

Examples

Example 1:
player addLiveStats 10;

Additional Information

See also:
setArmoryPoints unlockAchievement setStatValue

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note