- Jul 23, 2013
- 14
- 2
I have a prop_dynamic Spy and a prop_dynamic Hat of Cards in my map. I want to attach the hat to the Spy's head, as if the Spy had the hat equipped... but I have no idea how to do this. The closest I've gotten is using a logic_auto to SetParentAttachment to eyes when the map starts... but this spawns the hat in the middle of the Spy's face. I tried SetParentAttachment to bip_head based on modeling tutorials I've read, but the console gave me this error...
ERROR: Tried to SetParentAttachment for entity prop_dynamic (spy_hat), but it has no attachment named bip_head.
...and the hat just appeared on the floor next to the Spy, like I had placed it in Hammer.
Does anyone know how to do this properly?
ERROR: Tried to SetParentAttachment for entity prop_dynamic (spy_hat), but it has no attachment named bip_head.
...and the hat just appeared on the floor next to the Spy, like I had placed it in Hammer.
Does anyone know how to do this properly?