addScore: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(add. classification)
Line 45: Line 45:
[[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]

Revision as of 01:28, 2 December 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

This command works only on server (dedicated or hosted) and has global effect, when used on client it has no effect in ArmA 2 (ver. 1.2).

Bottom Section