BIS fnc addScore: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-\r\n]+) *- *U([a-z])" to "$1 - u$2") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *N([a-z ])" to "$1 - n$2") |
||
Line 13: | Line 13: | ||
|p1= [[Object]] - unit to add score to. | |p1= [[Object]] - unit to add score to. | ||
|p2= [[Number]] - | |p2= [[Number]] - number of points (score) to add to unit. | ||
|r1= [[Number]] - Score added to unit | |r1= [[Number]] - Score added to unit |
Revision as of 15:39, 8 November 2023
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:
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