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: Target scoring system  (Read 641 times)

0 Members and 1 Guest are viewing this topic.

TH

  • Guest
Target scoring system
« on: 10 Jun 2004, 17:49:24 »
Does anyone have or know how to make a script that will score if the player knocks down a target? Also is it possible to make the targets move? And a respawn question, how do you make a player respawn only a certain amount of times.

Homefry31464

  • Guest
Re:Target scoring system
« Reply #1 on: 10 Jun 2004, 20:26:29 »
A target, I take it you do not mean an enemy soldier.  I'm not sure about syntax on this:

In a trigger's condition field:
?getdammage targetname != 0

In a trigger activation field:
player addrating 100

Again, I'm not totally sure if that will work or not.  As for your other question, respawning is not possible in SP.  For MP, check this thread out:

http://www.ofpec.com/yabbse/index.php?board=7;action=display;threadid=91


« Last Edit: 10 Jun 2004, 20:27:50 by Homefry »