How To Build an Enemy Health and Damage System in Unreal Engine

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

КОМЕНТАРІ • 29

  • @JustAnotherDangHowToChannel
    @JustAnotherDangHowToChannel  Рік тому +6

    One thing to note that binding the percentage is a bit expensive as it fires every tick, I might create another video to show how to PUSH health stats from character to UI instead.

    • @Ron_Barel
      @Ron_Barel 6 місяців тому

      Did you make another viedo without the binding?

    • @JuanSumChninezeFue
      @JuanSumChninezeFue 3 місяці тому +1

      @@Ron_Barel Ali Elzoheiry does.

  • @saigerakoski9912
    @saigerakoski9912 10 місяців тому +4

    Show inherited variables was worth the video alone tbh

  • @Miaou_Bad
    @Miaou_Bad 2 місяці тому

    underrated asf tx man

  • @SHEKOTASHKA
    @SHEKOTASHKA 4 місяці тому

    grand mercy amazing guide all simple and work!

  • @jcd302
    @jcd302 Рік тому

    Very informative video. I learned alot. Subscribed. Thank you!

  • @Nihar-b3i
    @Nihar-b3i 8 місяців тому +3

    i am working my set current health and Max Health can't connect with the WBP Health

  • @SHEKOTASHKA
    @SHEKOTASHKA 4 місяці тому

    Hi, please tell me how to make such mobs receive damage from my line trace by channel system?

  • @SilverSkylark
    @SilverSkylark Рік тому +2

    Fantastic video, super informative. I'm getting a compilation error though:
    "failed building connection with 'Convert Float (double-precision) to Integer' at float * float" at the multiply node
    I'm pretty sure I followed along with you :) I appreciate any help

    • @finesseandstyle
      @finesseandstyle Рік тому

      using double precision instead of single precision?

  • @phatboionyxx8516
    @phatboionyxx8516 10 місяців тому +1

    hey everything worked only problem is the bar (health number) is not going going it stay on max health till they die

  • @coltonkearschner9593
    @coltonkearschner9593 8 місяців тому

    Is there a way that I can make the damage delt a variable that I can modify rather than something hard coded into apply damage?

  • @Ranshiki608
    @Ranshiki608 8 місяців тому

    Is there a way to deal damage to them with an input instead of begin overlap?

  • @rohanparmarscience
    @rohanparmarscience 8 місяців тому

    Can you make same damage system for hitting by bullet

    • @HunterFoy
      @HunterFoy 7 місяців тому +1

      try to change the "cast to ______" to your projectile instead of your character. Then when your projectile starts to overlap ("on component begin overlap") it will damage. good luck!!

  • @lukasbraithwaite393
    @lukasbraithwaite393 Рік тому

    hi how's it going I tried to make the BP_first person projectile the other actor when casting but cant seem to get it to work would there be any way you could help me with a solution

  • @ichigocolgate6735
    @ichigocolgate6735 Рік тому

    hey! thanks so much for the video, it worked, but i want the gun projectile to kill the enemy, so how do i make the projectile damage the enemy and not the player?

    • @JustAnotherDangHowToChannel
      @JustAnotherDangHowToChannel  Рік тому +1

      instead of collision overlap on the enemy, I would create a projectile actor and have a collision on it, then on projectile overlap, check if it hit any actor then apply damage.

    • @ltraltier6009
      @ltraltier6009 Рік тому +1

      @@JustAnotherDangHowToChannel Tried that on other tutorials. Still doesn't work.

  • @dfgffdvfvvf7909
    @dfgffdvfvvf7909 Рік тому

    doesnt work whats how does your attacking system work?

    • @JustAnotherDangHowToChannel
      @JustAnotherDangHowToChannel  Рік тому

      this prototype is just on a simple third person character actor overlap basic attack system... though this can be extended by replacing actor projectiles or weapons overlap to make the damage.

  • @MrAmazing-tc7ch
    @MrAmazing-tc7ch 2 місяці тому

    w bro

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

    Hey bro do you reply?

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

    Healths not going down man

  • @Tech-Synthetic
    @Tech-Synthetic 6 місяців тому +1

    You should really remove the keyboard and mouse sounds from the background.. makes it unwatchable for a large amount of people.. it is very annoying and distracting.