07-19-2011, 00:31
07-19-2011, 01:06
You can put a eAttacker notify("lemonized") under codecallbackplayerkilled in _callbacksetup.gsc.
07-19-2011, 01:25
self waittill("killed_player");
07-19-2011, 01:30
(07-19-2011, 01:25)AZUMIKKEL Wrote: [ -> ]self waittill("killed_player");
Yeah, that's better.
07-19-2011, 08:30
(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.
07-19-2011, 09:27
self waittill("killed_player");
if eattacker == self
etc etc
if eattacker == self
etc etc
07-19-2011, 12:42
(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