Home   Help Search Login Register  

Author Topic: adjusting the score  (Read 749 times)

0 Members and 1 Guest are viewing this topic.

Offline Morglor9

  • Members
  • *
adjusting the score
« on: 23 Jun 2005, 05:16:34 »
just a *noob* question that i had to put out there: how do u add or subtract from the mission score? i searched the forum and editor depot, but the word score doesn't get any hits on the subject, and "points" brings up a bunch of stuff about waypoints.

anyway, does anyone know the command for altering the score?
Cymbaline

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re:adjusting the score
« Reply #1 on: 23 Jun 2005, 07:12:58 »
unit addRating number


Operand types:
    unit: Object
    number: Number
Type of returned value:
    Nothing

Description:
    Add number to unit rating. This is usually used to reward for completed mission objectives. Rating for killed enemis 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

Fix bayonet!

Offline Morglor9

  • Members
  • *
Re:adjusting the score
« Reply #2 on: 25 Jun 2005, 04:01:41 »
Thank You.
Cymbaline