![]() |
CS 1.5 get the bot that inflicted damage by grenade!?
Hello,
I'm trying to find out what bot launched a grenade that inflicted damage to any other bot. When I go into Damage_Message, I can get the damage inflictor in the dmg_inflictor part of the damaged entity. But in the case, that the damage was inflicted by a grenade, the inflictor is the grenade itself?? How can I get the bot that threw that grenade!? I need that information to train a neural net? Thanks for any help, Daniel! |
Re: CS 1.5 get the bot that inflicted damage by grenade!?
that's long ago :)
you could look for the v.owner pointer, which might point to the owner, or to 'weaponbox' and then to owner ... something like that I guess worst case you could always search for grenades and evaluate their whole trajectories to see from whome to whome ;) |
All times are GMT +2. The time now is 19:47. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.