rating: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[addRating]] |= See also


}}
}}
Line 32: Line 32:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on August 3, 2006 - 14:04</dd>
<dt class="note">'''[[User:Hardrock|hardrock]]'''</dt><dd class="note">''Notes from before the conversion:''
Use [[addRating]] to change the rating of a unit.  
Use [[addRating]] to change the rating of a unit.  


The rating of the player is displayed as the "score" at the end of the mission. In the [[Description.ext]], you define how many points it takes to get a perfect score, and all those pretty gold stars.
The rating of the player is displayed as the "score" at the end of the mission. In the [[Description.ext]], you define how many points it takes to get a perfect score, and all those pretty gold stars.
</dd>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>

Revision as of 16:04, 3 August 2006


Hover & click on the images for description

Description

Description:
Check unit rating. Rating is increased for killing enemies, decreased for killing friendlies, can be changed by mission designer.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
_score = rating [[player]] 

Additional Information

See also:
addRating

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

Posted on August 3, 2006 - 14:04
hardrock
Notes from before the conversion: Use addRating to change the rating of a unit. The rating of the player is displayed as the "score" at the end of the mission. In the Description.ext, you define how many points it takes to get a perfect score, and all those pretty gold stars.

Bottom Section