Run state not activating

JohnThicc

Member
*sigh* Sorry for creating post after post but I've been running into so many problems.

On my weapons, in the "First Person Perspective Item" script, I have my Aim, Use and Run states added, the Aim and Use states get activated when I do either of those actions, but when I sprint the Run state won't activate and I have no idea why. This is happening on all weapons, even the default ones included with the package.
View attachment 5141
Is there something on the Player that should call back to this script to let it know the player is running?

Edit: Discovered this in the character locomotion script

1613144566721.png

The "State" field was empty, I just wrote "Run", it didn't work until I made a fresh Run preset asset for my weapon.
 

Attachments

  • 2021-02-13_02h42_18.png
    2021-02-13_02h42_18.png
    33.3 KB · Views: 8
Last edited:
Yeah the state name from the ability and the preset have to both match, there's no reason why you'd have to re-create the preset though. But glad you figured it out.
 
Top