Author Topic: num_kills for AI?  (Read 1576 times)

0 Members and 1 Guest are viewing this topic.

Offline Dilmah G

  • Failed juggling
  • 211
  • Do try it.
At the moment, num_kills only works in single player mode when applied to the player. Are there any sexps which will detect the number of kills an AI player has?

 

Offline eliex

  • 210
If you set the num_kills target to another pilot other than the player, does that do anything?
« Last Edit: July 18, 2009, 02:23:27 am by eliex »

 

Offline Dilmah G

  • Failed juggling
  • 211
  • Do try it.
That didn't work when I tried it, it needs to be a player ship apparently, which is why I posted here.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Due to the way num_kills works (Checking the player kill total) it's only going to work for a player. In single or MP.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Dilmah G

  • Failed juggling
  • 211
  • Do try it.
Yeah I knew that part, thus my question was:
Quote
Are there any sexps which will detect the number of kills an AI player has?

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
There is a way. Get-damaged-caused can come close.

If you set it in a way that used arguments within arguments you could get it to reveal ai kills. The resulting event would be fairly big and complex though. If you want I'll work it out for you but I'm not going to write it down unless I know you're willing to use it. :)
« Last Edit: July 18, 2009, 04:18:22 am by karajorma »
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]