rating: Difference between revisions

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


| [[Number]] <nowiki>=</nowiki> '''rating''' [[Object#Unit|Unit]]|= Syntax
| [[Number]] <nowiki>=</nowiki> '''rating''' unitName|= Syntax
 


|p1= unitName: [[Object]] |= Parameter 1


| [[Number]] |= Return value
| [[Number]] |= Return value

Revision as of 15:35, 24 January 2009


Hover & click on the images for description

Description

Description:
Check unit rating. Rating is increased for killing enemies, decreased for killing friendlies (see Rating Values). Can be changed via addRating by the mission designer. The rating of the player is displayed as the "score" at the end of the mission. Via Description.ext one can define how many points it takes to get a perfect score, as well as the number of stars.
Groups:
Uncategorised

Syntax

Syntax:
Number = rating unitName
Parameters:
unitName: Object
Return Value:
Number

Examples

Example 1:
_score = rating player

Additional Information

See also:
addRatingrank

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