Number of Killers @DeathCorpse - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Number of Killers @DeathCorpse (/Thread-Number-of-Killers-DeathCorpse) |
Number of Killers @DeathCorpse - Chukwuemeka - 05-27-2017 10:15 AM Hi, I'm trying to figure out if there is a way to get the number of killers while using the @DeathCorpse trigger? I know about <ATTACKER> and ARGN1 on @Kill, but is there a way I can pull it using only @DeathCorpse? Thanks! RE: Number of Killers @DeathCorpse - darksun84 - 05-27-2017 06:57 PM Not in @deathcorpse i think, you have to use @kill trigger at least then save the killers uids in a sort of list and retrieve it in @deathcorpse RE: Number of Killers @DeathCorpse - rastrero - 05-29-2017 03:17 AM dude, just use <attacker> You can call it everywhere at anytime. I mean, u can use <attacker> on any trigger or script. It dosnt depends of any specific trigger, so u can call it in everytime you want to check number of atackers. https://wiki.spherecommunity.net/index.php?title=ATTACKER RE: Number of Killers @DeathCorpse - darksun84 - 05-29-2017 07:16 AM Yes attacker seems the perfect way RE: Number of Killers @DeathCorpse - Chukwuemeka - 05-29-2017 08:16 PM Thanks guys! Does ATTACKER really work on DeathCorpse? It seems odd, like it's always returning zero to me. RE: Number of Killers @DeathCorpse - darksun84 - 05-29-2017 10:14 PM Hmm i tried yesterday and it seems to work in @deathcorpse RE: Number of Killers @DeathCorpse - Coruja - 05-30-2017 01:12 PM when an char kill another char, the trigger order is @Kill (attacker) -> @Death (victim) -> @DeathCorpse (victim) I can't remember correctly but ATTACKER list is cleared after @Death or @DeathCorpse, maybe that's why you always got 0 on @DeathCorpse (it can also be 0 if you kill yourself without any other char hit you) so try using @Death instead @DeathCorpse to check if it works RE: Number of Killers @DeathCorpse - rastrero - 06-22-2017 01:26 AM Characters still working in @deathcorpse I use it for some things. |