Thread
: [Solved]
TF2 Get entity of fired projectile
View Single Post
Author
Message
Cieniu97
Junior Member
Join Date: Sep 2021
Location: Poland
10-10-2021 , 08:45 TF2 Get entity of fired projectile
#
1
Hello there!
Context:
I'm coding SDK OnTakeDamage event. There is provided inflictor and attacker.
Determining weapon for hitscan weapons is easy. Projectiles is where I am stuck. I have made distinction from those using GetEntClassName.
Question:
How to get entity index of weapon that fired projectile having only projectile entity?
Last edited by Cieniu97; 10-10-2021 at
12:22
.
Cieniu97
View Public Profile
Send a private message to Cieniu97
Find More Posts by Cieniu97