BIS fnc addScore: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| arma3 |1.00 " to "|game1= arma3 |version1= 1.00 ")
m (Text replacement - " | [[" to " |seealso= [[")
Line 19: Line 19:
|x1= <code>[player,20] call BIS_fnc_addScore;</code>
|x1= <code>[player,20] call BIS_fnc_addScore;</code>


| [[addScore]]
|seealso= [[addScore]]
   
   
}}
}}

Revision as of 23:36, 13 June 2021

Hover & click on the images for description

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