addScore: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Killzone Kid (talk | contribs) (locality, seealso) |
||
Line 8: | Line 8: | ||
|arg= global |= Arguments in MP | |arg= global |= Arguments in MP | ||
|eff= | |eff= global |= 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 | | Add a number to the score of a unit. This score is shown in multiplayer in the "I" ("P" in Arma 3) screen. Negative values will remove from the score. Server execution only. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | unit '''addScore''' score |= Syntax | ||
|p1= | |p1= unit: [[Object]] |= Parameter 1 | ||
|p2= score: [[Number]] |= Parameter 2 | |p2= score: [[Number]] |= Parameter 2 | ||
Line 23: | Line 23: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>unit [[addScore]] 10;</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[score]] |= See also | | [[score]], [[addScoreSide]], [[scoreSide]] |= See also | ||
| mp= Server execution only | | |||
}} | }} |
Revision as of 19:47, 5 September 2014
Description
- Description:
- Add a number to the score of a unit. This score is shown in multiplayer in the "I" ("P" in Arma 3) screen. Negative values will remove from the score. Server execution only.
- Multiplayer:
- Server execution only
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
unit addScore 10;
Additional Information
- See also:
- scoreaddScoreSidescoreSide
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Multiplayer
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters