rating

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Operation Flashpoint version 1.00
  Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

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.

Syntax

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

Examples

Example 1:
_score = rating player

Additional Information

Multiplayer:
-
See also:
Side relationsRating ValuesaddRatingranksetUnitRank

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

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

Bottom Section