• SWEP - How to have entity projectile report back hitgroup
    3 replies, posted
If I have a SWEP that creates an entity as it's 'bullet' for want of a better word - how would I have this report back the HitGroup when it touches the player?
Basically shoot a trace, no other way.
You can use the trace provided by [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Entity/GetTouchTrace]Entity:GetTouchTrace[/url] in one of the compatible methods.
I'll have a look at both of these, thanks.
Sorry, you need to Log In to post a reply to this thread.