Unreal Engine 4 - FPS Tutorial - Deal Projectile Damage, Enemy Health - Simple

Поділитися
Вставка
  • Опубліковано 3 лют 2025

КОМЕНТАРІ • 18

  • @foxywoxy0w068
    @foxywoxy0w068 2 роки тому +3

    Just tried this and for some reason it is not working, I copied it EXACTLY as it was in the video but it isn't working. Collisions are on as well.

  • @petitcoke
    @petitcoke 3 місяці тому

    What if I use INT instead of Float as my CurrentHealth and MaxHealth?

  • @artsgalaxy5383
    @artsgalaxy5383 3 роки тому +4

    It's working ❤️ but it's only work in static mesh 🥺 please reply how to work in skeletal mesh pls

  • @Amelia_PC
    @Amelia_PC 3 роки тому +2

    Simple and great! It works for everything. I was coding damage on Advanced Locomotion System with a simple Mannequin as the enemy. (I'm using a temporary handgun. Using Trace by Object and changing Actor Has Tag Target to Cast to Enemy Blueprint, connecting the same Cast to Enemy to Damaged Actor node in Apply Damage. Hope it helps anyone using third person shooter template).
    It works flawlessly. Thanks!

  • @MyDisal
    @MyDisal 2 роки тому +3

    Remember to enable Collison in the FirstPersonProjectile actor if it doesn't work

    • @xd01._.63
      @xd01._.63 2 роки тому

      Thank you very much for this comment, you have saved me

  • @jameswhittaker9553
    @jameswhittaker9553 4 роки тому +2

    What version of ue is this

    • @TheBurningRed
      @TheBurningRed  4 роки тому +2

      If I had to guess probably 4.22 but this should work on all versions.

    • @jameswhittaker9553
      @jameswhittaker9553 4 роки тому +3

      @@TheBurningRed thank you for the answer I don't usually get one. This works now I had made a mistake.

    • @tyla1196
      @tyla1196 4 роки тому

      @@TheBurningRed hey im new to ue4 ive started a fps tutorial i have a couple questions ive been trying to get addressed and im so lost on them anyway i can call you on discord and show you my problems and blueprints and you help me see if you can figure out the problem? it would be greatly appreciated

  • @aidenfarmer6951
    @aidenfarmer6951 3 роки тому

    Can this work with destructable meshes, i.e it triggers the destruction when it 'dies'

  • @cameron.hayward
    @cameron.hayward 4 роки тому

    in message log I have error FirstPersonProjectile_C_0.Sphere FirstPersonProjectileMesh has to have 'Simulate Physics' enabled if you'd like to AddImpulse.
    Edit:I tried enabling simulate physics but it made the bullet break

    • @vgnachoneitor
      @vgnachoneitor 4 роки тому +1

      I don't know if this will work for you, but this happened to me once and the solution was to go the "sphere" in the FirstPersonProjectile blueprint components and then going in the details of the sphere to the "Collision" section to check the box that says "Simulation Generates Hit Event", this way I din't needed to check de "Simulate Physics" and the error was gone while the projectile kept working normally.

  • @BradleyJones-xi5fs
    @BradleyJones-xi5fs Рік тому

    Very useful, Thanks :)

  • @SirJustinn
    @SirJustinn 4 роки тому

    Hey is this multiplayer? supported

  • @sp3ky288
    @sp3ky288 3 роки тому

    thnx for the help