addRating: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
[[Category:Scripting Commands| | [[Category:Scripting Commands|ADDRATING]] | ||
[[Category:Scripting Commands OFP 1.97| | [[Category:Scripting Commands OFP 1.97|ADDRATING]] | ||
[[Category:Scripting Commands OFP 1.46| | [[Category:Scripting Commands OFP 1.46|ADDRATING]] | ||
[[Category:Scripting Commands ArmA| | [[Category:Scripting Commands ArmA|ADDRATING]] | ||
Revision as of 12:58, 4 May 2006
unit addRating number
Operand types:
unit: 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.
Example:
player addRating 1000