rating: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (moved command to template)
mNo edit summary
Line 34: Line 34:
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.
<!-- 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 11:29, 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:
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

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