addScore: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 14: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit '''addScore''' score |= Syntax
| [[Object|Person]] '''addScore''' score |= Syntax


|p1= unit: [[Object]] |= Parameter 1
|p1= [[Object|Person]]: [[Object]] |= Parameter 1


|p2= score: [[Number]] |= Parameter 2
|p2= score: [[Number]] |= Parameter 2

Revision as of 05:07, 27 August 2007

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:
Person addScore score
Parameters:
Person: 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