X
xhrys
Guest
Hi everyone.
As this is my first post on here (as well as my first attempt in creating a game). It's nice to meet you
I can't find a thread on this anywhere. If there is one, would you please post it. Otherwise...
I'm working on a top down shooter and I'm trying to set the weapon fire command to shift (hold) + LMB.
The problem is, the LMB currently controls the movement of the character/hero when clicked (moves towards the cursor).
So I guess what I'm asking is, is it possible to code it so that when shift is held down, it overrides the character's LMB controls for movement, and rather keeps the character standing still to fire their weapon when LMB is clicked alongside it.
It would basically be like Diablo.
Thanks for any help
As this is my first post on here (as well as my first attempt in creating a game). It's nice to meet you
I can't find a thread on this anywhere. If there is one, would you please post it. Otherwise...
I'm working on a top down shooter and I'm trying to set the weapon fire command to shift (hold) + LMB.
The problem is, the LMB currently controls the movement of the character/hero when clicked (moves towards the cursor).
So I guess what I'm asking is, is it possible to code it so that when shift is held down, it overrides the character's LMB controls for movement, and rather keeps the character standing still to fire their weapon when LMB is clicked alongside it.
It would basically be like Diablo.
Thanks for any help