Hey,
how to set priorities to multiple actions? So when I run (e.g. hold shift+w) I run, when I walk (hold W) I walk and when nothing is pressed I “idle”. I can do it when I have idle and walk. But as soon as I add run, I can’t set it up right.
Or in different game, I have animation for moving forward, and when I turn, I want character to lean to the left/right while still playing “moving forward” animation. I have seen somewhere tutorial for this, but I can’t find it anymore.
Pls help Thx
This may get a better answer in the game-engine help section, but…
You could have a move_anim property which is set to 0 (idle) 1 (walk) or 2 (run). The keys for walking and running just set this number (if move_anim < 1 then move_anim = 1). Then have a second tree of Sensor > Controller > Actuator that sets the animation based on move_anim.