rating: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofp |Game name=
| ofp


|1.00|Game version=
|1.00


|arg= global |Multiplayer Arguments=
|arg= global


|gr1= Object Manipulation |GROUP1=
|gr1= Object Manipulation


| Check unit rating. Rating is increased for killing enemies, decreased for killing friendlies (see [[ArmA:_Rating Values|Rating Values]]). Can be changed via [[addRating]] by the mission designer.  
| Check unit rating. Rating is increased for killing enemies, decreased for killing friendlies (see [[ArmA:_Rating Values|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.|DESCRIPTION=
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.


| [[Number]] <nowiki>=</nowiki> '''rating''' unitName|SYNTAX=
| [[Number]] <nowiki>=</nowiki> '''rating''' unitName


|p1= unitName: [[Object]] |PARAMETER1=
|p1= unitName: [[Object]]


| [[Number]] |RETURNVALUE=
| [[Number]]
   
   
|x1= <code>_score <nowiki>=</nowiki> '''rating''' [[player]] </code> |EXAMPLE1=
|x1= <code>_score <nowiki>=</nowiki> '''rating''' [[player]] </code>


| [[Side relations]], [[ArmA: Rating Values]], [[addRating]], [[rank]], [[setUnitRank]] |SEEALSO=
| [[Side relations]], [[ArmA: Rating Values]], [[addRating]], [[rank]], [[setUnitRank]]


}}
}}

Revision as of 01:27, 18 January 2021

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:
Object Manipulation

Syntax

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

Examples

Example 1:
_score = rating player

Additional Information

See also:
Side relationsArmA: Rating ValuesaddRatingranksetUnitRank

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

Unknown
In ArmA 1.18 rating does only return rating levels for units that are local.

Bottom Section