Home   Help Search Login Register  

Author Topic: Kill count  (Read 933 times)

0 Members and 1 Guest are viewing this topic.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Kill count
« on: 30 Oct 2007, 14:37:46 »
is there any way to check how many soldiers each unit in a group have killed ? like dey do in da final score page ?

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: Kill count
« Reply #1 on: 30 Oct 2007, 16:28:55 »
Only way I've found to "count kills" without using a "killed" eventHandler on every possible enemy unit is through the rating command. I.e., create an array of all the units and their ratings, and then whenever it goes up it means the unit has killed something (or has been given rating through the mission  :dunno: ).

Of course, that's a bit primitive and not very exact (i.e., can't make a list of WHAT was killed), and can potentially be demanding if checked on many units simultaneously.

Otherwise I guess simply having a "killed" eventhandler on every enemy unit and grab the data from there should work!  :good:

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Offline LeeHunt

  • Former Staff
  • ****
  • John 21:25
Re: Kill count
« Reply #2 on: 30 Oct 2007, 18:57:09 »
i know somebody did it for Operation Flashpoint, it might in one of the resource pages there or if you do a search on those forums.  There was a demo for it...