Raised This Month: $ Target: $400
 0% 

Determining the attacker / victim in natural selection


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Timmi the savage
Senior Member
Join Date: Jul 2004
Location: seattle
Old 09-08-2004 , 16:48   Determining the attacker / victim in natural selection
Reply With Quote #1

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
Timmi the savage is offline
Send a message via Yahoo to Timmi the savage
Timmi the savage
Senior Member
Join Date: Jul 2004
Location: seattle
Old 09-08-2004 , 16:48  
Reply With Quote #2

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:
register_event("Damage", "damage_event", "b", "2!0")

edit-- i have also tried

Code:
register_event("Damage", "damage_event", "b")
Timmi the savage is offline
Send a message via Yahoo to Timmi the savage
Timmi the savage
Senior Member
Join Date: Jul 2004
Location: seattle
Old 09-09-2004 , 13:30  
Reply With Quote #3

hmmm. anyone? I cant seem to tie a function to the victim in a damage event?
Timmi the savage is offline
Send a message via Yahoo to Timmi the savage
Timmi the savage
Senior Member
Join Date: Jul 2004
Location: seattle
Old 09-09-2004 , 18:37  
Reply With Quote #4

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?
Timmi the savage is offline
Send a message via Yahoo to Timmi the savage
Timmi the savage
Senior Member
Join Date: Jul 2004
Location: seattle
Old 09-10-2004 , 04:58  
Reply With Quote #5

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.
Timmi the savage is offline
Send a message via Yahoo to Timmi the savage
Timmi the savage
Senior Member
Join Date: Jul 2004
Location: seattle
Old 09-10-2004 , 05:02  
Reply With Quote #6

BTW i had monster_mm running but couldnt damage monsters. !! if thats any help on figuring it out
Timmi the savage is offline
Send a message via Yahoo to Timmi the savage
Votorx
Senior Member
Join Date: Jun 2004
Old 09-10-2004 , 08:16  
Reply With Quote #7

Fake Meta! Bet there's something in there you could find.
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
Timmi the savage
Senior Member
Join Date: Jul 2004
Location: seattle
Old 09-10-2004 , 14:38  
Reply With Quote #8

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.
Timmi the savage is offline
Send a message via Yahoo to Timmi the savage
Timmi the savage
Senior Member
Join Date: Jul 2004
Location: seattle
Old 09-11-2004 , 12:47  
Reply With Quote #9

i dont think its possible
Timmi the savage is offline
Send a message via Yahoo to Timmi the savage
Timmi the savage
Senior Member
Join Date: Jul 2004
Location: seattle
Old 09-25-2004 , 19:38  
Reply With Quote #10

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.
Timmi the savage is offline
Send a message via Yahoo to Timmi the savage
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode