blueprint
Devlog - 003: Simple Enemy (ABP_Manny Edit)
- Exposure: public
- UE Version: 5.5
ABP_Manny > EventGraph This animation blueprint is set up for taking player input so there's a small change we need to make to get it to work with NPCS
- EventBlueprintUpdateAnimation > Then 1 (Sequence) >
- Get Current Acceleration requires user input so we'll make a work-around
- OPTION A
(This makes it work for NPCs but breaks it for player characters)
- simply link the bool output of 'GroundSpeed >' to Should Move
- OPTION B
(Makes it work for both players and NPCs)
- make TryGetPawnOwner -> IsPlayerControlled
- make Select
- IsPlayerControlled -> Index
- AND -> True
- 'GroundSpeed >' -> False
- Select Return Value -> Set ShouldMove
- OPTION A
(This makes it work for NPCs but breaks it for player characters)
- Get Current Acceleration requires user input so we'll make a work-around
ctrl + v