TWahl Posted December 26, 2016 Share Posted December 26, 2016 Hey guys, Been playing around with leadwerks lately testing random levels, trying to learn the software. However one thing I came across is the fact that for some reason I cannot fire my weapon (unless I am holding the ctrl key) when I am moving my character around with the WASD keys. I made sure it was reloaded too. I tried looking at the FPS controller script, however I do not know where I can find the specific code that seems to call for the ctrl key being depressed in order to fire my gun while moving. I want to be able to strafe around and fire my weapon at the same time without it being clunky. If I click my mouse while holding a weapon in a stationary position, the weapon fires like normal. Can someone point me in the right direction as far as scripting? I am only just starting to wrap my head around LUA in leadwerks. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.