score: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| MP: Returns the person's score. |= Description
| Returns the person's score in MP. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Number]] <nowiki>=</nowiki>  '''score''' unitName |= Syntax
| '''score''' unit |= Syntax


|p1= unitName: [[Object]] |= Parameter 1
|p1= unit: [[Object]] |= Parameter 1


| [[Number]] |= Return value
| [[Number]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_pScore <nowiki>=</nowiki> score [[player]]</code> |= Example 1
|x1= <code>_pScore = [[score]] [[player]];</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[addScore]] |= See also
| [[addScore]], [[addScoreSide]], [[scoreSide]] |= See also


}}
}}

Revision as of 20:53, 5 September 2014

Hover & click on the images for description

Description

Description:
Returns the person's score in MP.
Groups:
Uncategorised

Syntax

Syntax:
score unit
Parameters:
unit: Object
Return Value:
Number

Examples

Example 1:
_pScore = score player;

Additional Information

See also:
addScoreaddScoreSidescoreSide

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

Notes

Bottom Section