So, i've changed my movement system from the basic "X key pressed - move x direction" to "X key pressed set Y to true"+"any key is pressed and Y is true - move x direction" Since this allows for AW, AD, SA and SD movement.... anyway, this works just great..
However, i then added a sprint funktion.. When shift i pressed down it increases the movement speed of my unit, and when shift is released it resets the movement speed. This actually works aswell, except WD movement doesn't work when sprinting, everything else works and WD movement also works when not sprinting.. I realize this is confusing as hell and I will supply you guys with a screenshot tomorrow, because i honestly don't get this.. :p
I suspect it may be because the game can't detect more than 2 keys being held at once.
This is not the case, as I can sprint and move in diagonal directions with my map. I looked at the original post and I don't see any problem with it. I suggest looking over your triggers again to see if you've made a mistake somewhere.
Yea, been running through all the triggers 5 times now, and I honestly don't see what could be wrong... If i reassign the trigger to another button like C, it works great, indicating that something else is activated when i press Shift W and D, but i turned off all other triggers and it still wont move with sprint + WD... If someone could have a look at it I've uploaded my map cuz im really darn desperate
Im guessing its a problem with the keyboard aswell, not an issue with the game. Many keyboards have certain key combinations they can't detect. Try making some simple triggers that prints when u press and release shift, w and d.
It appears you're right SBeier, it doesn't activate the buttons at all, it can only activate Shift+W or Shift+D but not Shift+D+W... That's simply stupid :S
Anyway, reassigned it to space, i guess its the second most obvious choice for a sprint button, also reassigned the "use/pickup item" button to E since it was space before.. thanks guys, guess this will have to do
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So, i've changed my movement system from the basic "X key pressed - move x direction" to "X key pressed set Y to true"+"any key is pressed and Y is true - move x direction" Since this allows for AW, AD, SA and SD movement.... anyway, this works just great..
However, i then added a sprint funktion.. When shift i pressed down it increases the movement speed of my unit, and when shift is released it resets the movement speed. This actually works aswell, except WD movement doesn't work when sprinting, everything else works and WD movement also works when not sprinting.. I realize this is confusing as hell and I will supply you guys with a screenshot tomorrow, because i honestly don't get this.. :p
I suspect it may be because the game can't detect more than 2 keys being held at once.
This is not the case, as I can sprint and move in diagonal directions with my map. I looked at the original post and I don't see any problem with it. I suggest looking over your triggers again to see if you've made a mistake somewhere.
Yea, been running through all the triggers 5 times now, and I honestly don't see what could be wrong... If i reassign the trigger to another button like C, it works great, indicating that something else is activated when i press Shift W and D, but i turned off all other triggers and it still wont move with sprint + WD... If someone could have a look at it I've uploaded my map cuz im really darn desperate
- Removed Link :) -
It appears you're right SBeier, it doesn't activate the buttons at all, it can only activate Shift+W or Shift+D but not Shift+D+W... That's simply stupid :S
Anyway, reassigned it to space, i guess its the second most obvious choice for a sprint button, also reassigned the "use/pickup item" button to E since it was space before.. thanks guys, guess this will have to do