Determining the attacker / victim in natural selection
Hi, I have a problem i cannot figure out with ns.
how do i get the victim of an attack. Plz help. Thanks. --edit : Damage event registers ------AMXmodX 0.16 and 0.20-tp4 Metamod 1.17.2.p10 and 1.17.2.0 both have the same results. HLDS - win32 |
But not before the victim is dead. Just when the victim is damaged.
im pretty sure its an event. Help please. Also where do i find the event ? i have Code:
edit-- i have also tried Code:
|
hmmm. anyone? I cant seem to tie a function to the victim in a damage event?
|
now that im looking into it more i think it has something to do with
get_user_attacker ?? -didnt work entity_get_edict EV_ENT_dmg_inflictor.?? didnt work although im not quite sure on its function. I dont think it works in NS, can anyone help? |
Also i have a new way of respawning. But this whole plugin hinges on the ability to determine the attacker/victim.
Curently trying a method using get_user_aiming, i'll reply if it works. UNTIL then any HELP, please, would be greatly appreciated. |
BTW i had monster_mm running but couldnt damage monsters. !! if thats any help on figuring it out :?
|
Fake Meta! Bet there's something in there you could find.
|
Thanks votorx, Im sure of it. That of course is my next best option. Im glad the dev team added ithis. I have had a couple goes at it. But im shooting in the dark with fakemeta. Anyone have any idea's using fake meta.
|
i dont think its possible
|
Well i did it. Using user_get_aiming.
But it still has to be called by the attacker. I'll figure out the event and link them. When i do i'll post it. |
| All times are GMT -4. The time now is 17:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.