Okay, so I'm trying to make something fire different weapons, or go into different weapon "modes" when pressing a certain button.
Like something to the effect of:
Code:
if (UInputMan:KeyReleased(2) then
set a certain "Weapon1 mode"
if the actor's mode is "Weapon one" then
then insert firing code here.
Don't know if this is how to do it, but I hope it's possible at least.