rating: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (moved command to template) |
||
Line 4: | Line 4: | ||
[[Category:Scripting Commands ArmA|RATING]] | [[Category:Scripting Commands ArmA|RATING]] | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| Check unit rating. Rating is increased for killing enemies, decreased for killing friendlies, can be changed by mission designer. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''rating''' unit |= Syntax | ||
|p1= unit: [[Object]] |= Parameter 1 | |||
[[Number]] | | [[Number]] |= Return value | ||
____________________________________________________________________________________________ | |||
|x1= <pre>_score = rating [[player]] </pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
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. | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
Revision as of 01:56, 3 August 2006
Description
- Description:
- Check unit rating. Rating is increased for killing enemies, decreased for killing friendlies, can be changed by mission designer.
- Groups:
- Uncategorised
Syntax
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.