Limiting number of carried weapons...
Posted: Thu Sep 22, 2005 4:42 am
What I am basically working on for Titan-IC is using pawns for ammo, and weapons. This way instead of just walking over them you have to stop and pick them up via the use key.
But what I am wanting is for the player to only be able to have 4 weapons at a time. 2 of them are always there and are pretty much the basic/default weapons pistol/knife.
Then I want the player to be able to pck up two other weapons, and if they have 4 weapons total have to drop one of their non-default weapons in order to pick another weapon up.
I just can't seem to come up with an easy way to do this. Any ideas would be greatly appreciated.
But what I am wanting is for the player to only be able to have 4 weapons at a time. 2 of them are always there and are pretty much the basic/default weapons pistol/knife.
Then I want the player to be able to pck up two other weapons, and if they have 4 weapons total have to drop one of their non-default weapons in order to pick another weapon up.
I just can't seem to come up with an easy way to do this. Any ideas would be greatly appreciated.