Skip to content

Use more evade directions and filter by supporting animation (#7450)

elsid requested to merge elsid/openmw:more_evade_directions into master

Add forward left and right and backward directions. Order them to form a circle.

Define supported movement directions via flags using currect character state to identify a movement type. The implementation of it is far from ideal. The problem is that character state recursively depends on evade direction. For example if during the evading interval character will switch from swimming to walking then there might be no corresponding animation but the evading direction will not change until the next try.

Cache supported animation names in unordered_set to provide faster lookup to check for existing animation.

Fixes #7450 (closed).

ogrim_titan_evade

Merge request reports

Loading