addScore: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
|arg= global |= Arguments in MP | |||
|eff= local |= Effects in MP | |||
____________________________________________________________________________________________ | |||
| 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. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | unit '''addScore''' score |= Syntax | ||
|p1= unit: [[Object]] |= Parameter 1 | |||
|p2= score: [[Number]] |= Parameter 2 | |||
[[Nothing]] | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | |||
|x1= <pre>player addScore 10</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| [[score]] |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|ADDSCORE]] | |||
[[Category:Scripting Commands OFP 1.96|ADDSCORE]] | |||
[[Category:Scripting Commands OFP 1.46|ADDSCORE]] | |||
[[Category:Scripting Commands ArmA|ADDSCORE]] |
Revision as of 21:56, 1 August 2006
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
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