Weapons that cannot be picked up if one already in possession?
Posted: Sat Oct 19, 2024 5:59 am
Hello.
This is probably quite simple to do. But I just don't know where to start.
I have this idea that player could use various items for melee. Wrenches, crowbars, pipes etc.
Now the idea is that the player may have only one melee weapon at a time. And would need to drop
the current one in order to switch to another.
Is there something in states or action functions that would prevent a weapon pickup when some defined
variable is true?
With inventory items this can be done. But how would one approach this with weapons?
Thx in advance.
This is probably quite simple to do. But I just don't know where to start.
I have this idea that player could use various items for melee. Wrenches, crowbars, pipes etc.
Now the idea is that the player may have only one melee weapon at a time. And would need to drop
the current one in order to switch to another.
Is there something in states or action functions that would prevent a weapon pickup when some defined
variable is true?
With inventory items this can be done. But how would one approach this with weapons?
Thx in advance.
