How To Add Health To Any Actor In Unreal

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

ความคิดเห็น • 10

  • @WhoIsAyata
    @WhoIsAyata 9 หลายเดือนก่อน

    Dude, you explain it very quickly and simply, I really like your channel. I want you to continue

  • @avanishpatitripathi1562
    @avanishpatitripathi1562 7 หลายเดือนก่อน

    why does so amazing channel has so low engagement

  • @voxpopuli2590
    @voxpopuli2590 7 หลายเดือนก่อน

    Any chance you could post a video of you creating that death zone? Thank you so much for your help. ^-^

  • @MGDisorder
    @MGDisorder 15 วันที่ผ่านมา

    Hey!, how would i add a healthbar to this actor on a character? i dont want it to affect ALL healthbars just the players. it would be dumb if the player took damage and everything else did, as of rn i use a widget blueprint for a healthbar but i cant seem to tie the progress bar to just the players HP component?

    • @that_skye
      @that_skye  15 วันที่ผ่านมา +1

      @@MGDisorder Hi the easiest way to do that would be to create binding in your widget for your progress bar. Then cast to your player BP drag from the "As" output of the cast node and then search for the health component and get it. That way you are looking at specific component attached to your player

    • @MGDisorder
      @MGDisorder 15 วันที่ผ่านมา

      @that_skye thank you so much!

  • @CDrsps
    @CDrsps 6 หลายเดือนก่อน

    can you make another video showing how to stop the regeneration if the health reaches zero? also maybe make the enemy "die" in some way? this was very helpful but i want to learn to expand on this

    • @that_skye
      @that_skye  6 หลายเดือนก่อน +1

      Hi, so if you want to stop regenerating HP after reaching zero that would most likely mean the character is dead. Which means you can just include this in the death event, simply get the variable with regen timer and drag from it, then look for Pause Timer. We did the same thing in the Restore Health function if the character is already max health.
      As for making the character "die" I could suggest adding simple ragdoll for starters. I have a video on how to do that here: th-cam.com/video/StdpO6b0APA/w-d-xo.html

    • @CDrsps
      @CDrsps 6 หลายเดือนก่อน

      @@that_skye thank you

  • @ZimMabu_GameDev.
    @ZimMabu_GameDev. 3 หลายเดือนก่อน

    support