addScore: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|ADDSCORE]]
[[Category:Scripting Commands|ADDSCORE]]
[[Category:Scripting Commands OFP 1.97|ADDSCORE]]
[[Category:Scripting Commands OFP 1.96|ADDSCORE]]
[[Category:Scripting Commands OFP 1.46|ADDSCORE]]
[[Category:Scripting Commands OFP 1.46|ADDSCORE]]
[[Category:Scripting Commands ArmA|ADDSCORE]]
[[Category:Scripting Commands ArmA|ADDSCORE]]

Revision as of 19:40, 1 June 2006


unit addScore score


Operand types:

unit: Object

score: Number

Type of returned value:

Nothing

Description:

MP only: Add unit score.

This is shown in the "I" MP screen as total.


Example:

player addScore 10