addScore: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (MP behavior already documented via icons)
Line 34: Line 34:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on 5 March, 20089</dd>
<dt class="note">[[User:Boreas|Boreas]]</dt><dd class="note">
addscore must run in the client side to take effect on multiplayer games.
</dd>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 22:29, 5 March 2009

Hover & click on the images for description

Description

Description:
Add a number to the score of a unit. This score is shown in multiplayer in the "I" screen. Negative values will remove from the score.
Groups:
Uncategorised

Syntax

Syntax:
unitName addScore score
Parameters:
unitName: Object
score: Number
Return Value:
Nothing

Examples

Example 1:
player addScore 10

Additional Information

See also:
score

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

Notes

Bottom Section