I'm making a Lua script that modifies the behaviour of the weapon rings.
Well, I want to basically disable the red ring.
I know there is no variable that will make that happen, but I thought about making it work in different ways.
I thought about the player hovering the red ring weapon. If that is the only weapon this player has, then the weapon delay will be set to a non zero value, making the weapon unusable.
If the player has any other weapon and the player selects the red ring, if the player was (for example) selecting the automatic ring, it will cycle back to the rail ring.
But the problem resides in that there's a button to shoot the normal ring, and I don't know for a way to prevent the player from shooting the red ring. What can I do?
Well, I want to basically disable the red ring.
I know there is no variable that will make that happen, but I thought about making it work in different ways.
I thought about the player hovering the red ring weapon. If that is the only weapon this player has, then the weapon delay will be set to a non zero value, making the weapon unusable.
If the player has any other weapon and the player selects the red ring, if the player was (for example) selecting the automatic ring, it will cycle back to the rail ring.
But the problem resides in that there's a button to shoot the normal ring, and I don't know for a way to prevent the player from shooting the red ring. What can I do?