BIS fnc addScore: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Multiplayer |GROUP1=") |
m (Text replacement - "\[\[Category\:Function Group\: MP(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 35: | Line 35: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:addScore}}]] | [[Category:Functions|{{uc:addScore}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:addScore}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:addScore}}]] |
Revision as of 01:11, 10 October 2020
Description
- Description:
- Adds a set amount of points to the score of a unit (MP only)
- Execution:
- call
- Groups:
- Multiplayer
Syntax
- Syntax:
- [object, number] call BIS_fnc_addScore
- Parameters:
- Object - Unit to add score to.
- Number - Number of points (score) to add to unit.
- Return Value:
- Number - Score added to unit
Examples
- Example 1:
[player,20] call BIS_fnc_addScore;
Additional Information
- See also:
- addScore
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