Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:1.00

Description

Description:

Adds a value to the rating of a unit.

Negative values can be used to reduce the rating. This command is usually used to reward for completed mission objectives. The rating is given at the end of the mission and is automatically adjusted when killing enemies or friendlies.

While friendly fire causes the rating to become negative, it has no effect on the behavior of other units.

Syntax

Syntax:unit addRating rating
Parameters:
Return Value:Nothing

Examples

Examples:
player addRating 2000

Additional Information

See also: rating, addScore
Multiplayer: 
Problems: 

Notes