Page 1 of 1

Killer detect, attacker detect, damage and stopping (phew ;)

Posted: Tue Mar 04, 2003 8:51 pm
by Rookie One.pl
Hi,

Next load of noob questions :twisted:

1. Jv_map once told me how to detect AI's killer. Is it possible to detect who attacked the AI, even if the AI is still alive?
2. Can I use damage command to hurt the player? If the player is killed, what sort of message will be shown in MP? 'Player died'?
3. Will stop command stop an AI when it's running (runto command)?

Thanks in advance,

Rookie One

Posted: Wed Mar 05, 2003 3:27 pm
by jv_map
1. Yes - use the same method as for a killed AI.
2. Yes - I think you'll see '... blew up'.
3. Nope, use runto NULL.

:)

Posted: Thu Mar 06, 2003 3:38 pm
by Rookie One.pl
1. So if an AI is just hurt, bu not killed, the killer is stored in $ai.fact.killer, too?
2. Blew up? It's weird, isn't it? :?
3. Thanks 8) .

Posted: Thu Mar 06, 2003 3:57 pm
by jv_map
$ai.fact.attacker :wink:

Aha!

Posted: Sat Mar 08, 2003 12:13 pm
by Rookie One.pl
Thanks 8) .