BIS fnc addScore: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>(\[?[^\[]+\]?) *(\[\[)?(call|spawn)(\]\])? *(\[\[)?(BI(N|S)_fnc_[a-zA-Z0-9_]+)(\]\])?;?<\/code>" to "<sqf>$1 $3 $6;</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
||
Line 10: | 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]] - Unit to add score to. | |p1= [[Object]] - Unit to add score to. |
Revision as of 23:12, 12 July 2022
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