weapon(s) duplicates when switching weapons

Hello,

I made a weapon pickup/switch thing. (no python)
It works great but there is a problem that i dont know how to solve.

How it works:
Got 4 weapons on the floor, who i can pickup (works)
When pickup weapon,it selects the one picked up last (works)
When weapons are picked up, key 1-4 selects the weapon (works)

So all good u think?
Not at all, when i have all weapons (or only 2 of the weapons) and then
pressing 1-4 keys at the same time, i get more weapons in my hand then that i can carry lol.

just smashing on 1 key at a time does nothing, but when i got a weapon at key 1 and 2 and
press them i get both weapons in my hand.

My question, how can i solve this?

The blend:
http://www.pasteall.org/blend/18248

Ps: whats up with this forum? why cant i use enter or quotes or anything else when i want to post a message?
its a bit of a pain,now i need to use notepad for it xD

Enable java here.

Hmm, not sure, but have you tried putting the weapon switches into different states? That might solve the issue as you could do a slight delay before going back to a previous state? Thats all I can think of for now :smiley:

Oh yeah, that could solve the problem, didnt even think about that xD, will try this out in the weekend.
@downdate, its not the java, its on. maybe its IE 10 who blocks it, but still verry strange, it only happends on this forum, all the other forums are acting normal.

as probally everyone expected, using states was the stoopid thing i didnt think about, but works verry well. thanks again :slight_smile: