ItsMods
Help self waittill("KILL"); - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: Help self waittill("KILL"); (/Thread-Help-self-waittill-KILL.html)



self waittill("KILL"); - Puffiamo - 07-19-2011

In mw2 there was this self waittill("killed_enemy");
but in bo this doesnt work, someone know the notify when you kill a enemy?


RE: self waittill("KILL"); - Lemon - 07-19-2011

You can put a eAttacker notify("lemonized") under codecallbackplayerkilled in _callbacksetup.gsc.


RE: self waittill("KILL"); - AZUMIKKEL - 07-19-2011

self waittill("killed_player");


RE: self waittill("KILL"); - Lemon - 07-19-2011

(07-19-2011, 01:25)AZUMIKKEL Wrote: self waittill("killed_player");

Yeah, that's better.


RE: self waittill("KILL"); - Phl3x_ - 07-19-2011

(07-19-2011, 01:25)AZUMIKKEL Wrote: self waittill("killed_player");

Doesn't that get notified when the player dies, not when they kill an enemy?

Lemon's way is good, "eAttacker notify("killed_enemy", self);" I just added the 'self' so that you know who the attacker actually killed.


RE: self waittill("KILL"); - koil - 07-19-2011

self waittill("killed_player");

if eattacker == self


etc etc


RE: self waittill("KILL"); - Tomsen1410 - 07-19-2011

(07-19-2011, 08:30)Phl3x_ Wrote:
(07-19-2011, 01:25)AZUMIKKEL Wrote: self waittill("killed_player");

Doesn't that get notified when the player dies, not when they kill an enemy?

Lemon's way is good, "eAttacker notify("killed_enemy", self);" I just added the 'self' so that you know who the attacker actually killed.

Yes, i think ur true