Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: adjusting the score  (Read 926 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