unitName addRating number

Operand types

unitName: Object
number: Number

Type of returned value

Description

Add number to unit rating.
This is usually used to reward for completed mission objectives.
Rating for killed enemies and killed friendlies is adjusted automatically.
When rating is lower than zero, unit is consider "renegade" and is enemy to everyone.

Used In

OFP/ArmA

Example

player addRating 1000

Advertisement