Xaser wrote:Create a second inventory item -- let's call it "ActionItem" -- inherited from CustomInventory, that gives the token item in the Use state for a single tic (then takes it away). Give this item to the player at the start (i.e. Player.StartItem), but make sure it has -INVBAR.
Caught something that made me go yuck. I prefer to have an item that is given to the player, and have the check in the weapon take it away to that. However, the best method I've seen and I forget if I also worked that part out myself was to have an item that gives the token item to the player, and a second item that takes away the token item. What one would do is bind the giving item to pressing a key down and the taking item to releasing the same button.

