Hello!
I recently found that even if the npc's are using explosives (grenade launcher/explosive ammo), they cannot do damage to bradley. Anyone know if I am missing a setting, or there is a hook to return true on NPC hit? I didn't find anything..
Things I've tried:
decompiled the Assembly-CSharp.dll to get to the HitInfo section --> I have little to no idea how to manipulate it.
I thought maybe using something like:
OnEntityTakeDamage (BradleyAPC entity, HitInfo info)
{
if (entity is BradleyAPC)
{
(something to do with hit info that will guarantee a set damage like)
}
{
Just so I can get the damage out there, but again, I don't know what I'm doing and looked up and down the HitInfo section for about an hour and a half trying to get something to work.
Please let me know if I'm missing something simple, or even if I just have to buck up and spend another 25 hours learning to get 4 lines of code down (which is not out of the question at this point lol)
As always, thank you for your time and help regarding this issue!
-Produce
NPCPlayers cannot do damage to Bradley
(something to do with hit info that will guarantee a set damage) *