BIS fnc addScore: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2") |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
|1.00 | |||
|gr1= Multiplayer | |gr1= Multiplayer | ||
Line 11: | Line 10: | ||
|descr= Adds a set amount of points to the score of a unit ''(MP only)'' | |descr= Adds a set amount of points to the score of a unit ''(MP only)'' | ||
|s1=[object, number] call [[BIS_fnc_addScore]] | |s1= [object, number] call [[BIS_fnc_addScore]] | ||
|p1= [[Object]] - | |p1= [[Object]] - unit to add score to. | ||
|p2= [[Number]] - | |p2= [[Number]] - number of points (score) to add to unit. | ||
|r1=[[Number]] - | |r1= [[Number]] - score added to unit | ||
|x1= < | |x1= <sqf>[player,20] call BIS_fnc_addScore;</sqf> | ||
| [[addScore]] | |seealso= [[addScore]] | ||
}} | }} |
Latest revision as of 15:49, 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