I’m making a prop/machine thing that wants to detect what was prop put in it, and decide based on that what to give the player.
For example, if I activate the machine with nothing in it, nothing should happen. If I insert a watermelon and activate it, I want it to output a health pack. Tin cans would be made into random ammo, etc.
I can filter by names and classes, but I want to know iit is possible to filter based on a keyvalue? (in this example, the “worldmodel” keyvalue) Any links or comments would help.