• how can i get entity parent damage gmod?
    7 replies, posted
Asking in the title.
So, you want to get the entity parent of an entity receiving damage? I don't quite understand the question.
I need to damage the object that was tied to the parent
ent:GetParent():TakeDamage(50)?
https://www.youtube.com/watch?v=WjtSyDLeiCo&feature=youtu.be
it's never recommended, but use constraint.weld for that since parent won't update hitboxes
self.ColModel:SetParent(self,self.ColModel) constraint.Weld( self,self.ColModel, 0, 0, 0, true ) ? ENT:OnTakeDamage not work on children
What he is saying is that SetParent won't work if you want features like being able to shoot it. You need to use only constraint.Weld instead.
Sorry, you need to Log In to post a reply to this thread.