get_user_attacker(index,...)
is there anotehr way of getting the attacker on a damage event? it doesn't seem to work on battlegrounds
should i just readdata and output to see if any match the attacker? |
That would be a good idea :up: :D
|
You could try that, or maybe battlegrounds sets the dmg_inflictor entvar setting properly.
Try checking the Code:
Code:
|
the mod is open source, so i just searched dmg_inflictor and from what i understand of it, mahnsawce has it right on, EV_ENT_dmg_inflictor is the weapon that they were killed by
edit: ok it worked, thx |
I am attempting to convert a mirror damage plugin to BG, what exactly did you do JJkiller? I am having problems :P It either wont have mirror damage or it will damage you even if you attack the enemy :?
*edit* I got it to work nvm. |
| All times are GMT -4. The time now is 17:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.