blueprint

Devlog - 003: Simple Enemy (ABP_Manny Edit)

  • Exposure: public
  • UE Version: 5.5

GameModsWiki

January 7, 2025, 12:50 am

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
Click the button above, it will automatically copy blueprint in your clipboard. Then in Unreal Engine blueprint editor, paste it with ctrl + v