score: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SCORE]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|SCORE]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|SCORE]]
[[Category:Scripting Commands ArmA|SCORE]]


| ofp |= Game name


<h2 style="color:#000066">'''score ''unit'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


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


'''Operand types:'''
| '''score''' unit |= Syntax


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


'''Type of returned value:'''
| [[Number]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>pScore = score [[player]]</pre> |= Example 1
____________________________________________________________________________________________


[[Number]]
|  |= See also


'''Description:'''
}}


'''MP:''' Returns the unit's score.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SCORE]]
pScore = '''score''' [[player]]
[[Category:Scripting Commands OFP 1.96|SCORE]]
[[Category:Scripting Commands OFP 1.46|SCORE]]
[[Category:Scripting Commands ArmA|SCORE]]

Revision as of 23:00, 1 August 2006

Hover & click on the images for description

Description

Description:
MP: Returns the unit's score.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
pScore = score [[player]]

Additional Information

See also:
See also needed

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