Wombat2112
Banned
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?
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.
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.