score: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
(37 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| ofp |Game name=
|game1= ofp
|version1= 1.00


|1.00|Game version=
|game2= ofpe
____________________________________________________________________________________________
|version2= 1.00


| Returns the person's score in MP. |DESCRIPTION=
|game3= arma1
____________________________________________________________________________________________
|version3= 1.00


| '''score''' unit |SYNTAX=
|game4= arma2
|version4= 1.00


|p1= unit: [[Object]] |PARAMETER1=
|game5= arma2oa
|version5= 1.50


| [[Number]] |RETURNVALUE=
|game6= tkoh
____________________________________________________________________________________________
|version6= 1.00
 
|x1= <code>_pScore = [[score]] [[player]];</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[addScore]], [[scoreSide]], [[addScoreSide]], [[getPlayerScores]] |SEEALSO=
|game7= arma3
|version7= 0.50


}}
|gr1= Multiplayer
 
|descr= Returns the person's score in MP.
 
|s1= [[score]] unit
 
|p1= unit: [[Object]]


<h3 style="display:none">Notes</h3>
|r1= [[Number]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>_pScore = score player;</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[addScore]] [[scoreSide]] [[addScoreSide]] [[getPlayerScores]]
[[Category:Scripting Commands|SCORE]]
}}
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SCORE]]
[[Category:Scripting Commands OFP 1.46|SCORE]]
[[Category:Scripting Commands ArmA|SCORE]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]]

Revision as of 10:24, 13 May 2022

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
_pScore = score player;

Additional Information

See also:
addScore scoreSide addScoreSide getPlayerScores

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note