How to know if a weapon entity is used by a player/NPC
2 replies, posted
I'm currently working on a Mimic (the ones from Prey 2017) and I want them to be able to mimic weapons dropped on the floor. However I don't know if there is a way to differenciate weapons on the floor and used by a player/NPC so the Mimics end up morphing into a copy of my physgun.
Can you help me? I searched the wiki but I did not find anything useful.
Did you try GetOwner() and GetParent()
No I didn't and now I feel dumb for asking. x)
Thank you
Sorry, you need to Log In to post a reply to this thread.