rating: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_score = rating [[player]] </pre> |= Example 1
|x1= <code>_score <nowiki>=</nowiki> '''rating''' [[player]] </code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 00:46, 4 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