When I create a sentry, I have it so an entity is parented to that sentry. When I pickup said sentry, I want that entity removed.
Is there a way to find/check if an entity is parented to an object (check to see if an object has a child entity?)?
Edit: I just used m_hMoveChild and then got the classname from it.
Code:
int childEntity = GetEntPropEnt(entity, Prop_Data, "m_hMoveChild");
GetEdictClassname(childEntity, childclass, sizeof(childclass));