BIS fnc addScore: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
Line 11: Line 11:
| Adds a set amount of points to the score of a unit ''(MP only)''
| Adds a set amount of points to the score of a unit ''(MP only)''


| [object, number] call [[BIS_fnc_addScore]]
|s1=[object, number] call [[BIS_fnc_addScore]]


|p1= [[Object]] - Unit to add score to.
|p1= [[Object]] - Unit to add score to.

Revision as of 16:57, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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:
See also needed

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