Duck attack reverse

I assigned an attack animation for ducking and the player reverses to attacking left no matter what direction he is attacking from? How could I fix this to where he attacks the correct direction every time?
 
I've been wondering about your question myself - but I have so many other things before I get to that - but
in the manual I found this - but I'm unsure if this is the best alternative for you - try it and let us know.

Code:
facing {int}

    This is for forcing the entity to face certain direction regardless where he/she is going.
        0 = no force (default).
        1 = force the entity to face right.
        2 = force the entity to face left.
        3 = force the entity to face same direction with level's direction.
    Setting this allows players to play BACKWALK.

And I'm unsure of how you want the enemies to react - but you could also try this

Code:
forcedirection {dir}

    If this command is declared, opponents hit by attackbox will face specific direction instead of facing entity.
        0 = no effect (used to turn off forcedirection).
        -2 = Left. It means always left no matter where opponent is hit.
        -1 = opposite of entity.
        1 = same direction of entity.
        2 = Right. It means always right no matter where opponent is hit.
    Use this command with an attackbox of course.
 
Back
Top Bottom