Apply and Take Damage in C++ - Unreal C++ Course #10

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

КОМЕНТАРІ • 12

  • @sergiomaresmartinez7665
    @sergiomaresmartinez7665 7 місяців тому

    thanks dude! amazing video. Straight to the point and very usefull

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

    Heck yeah thank you!

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

    Waiting for dialogue, quest and inventory, keep it up

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

      all great ideas! certainly noting them down for future reference but complex enough to probably be mini series on their own rather than part of this series :)

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

      @@thegamedevcave I've just finished up my Inventory System, but it always a good thing to learn more ways and details.

  • @secret.message.
    @secret.message. 5 днів тому

    The TakeDamage function in the StatsComponent files remains unclear to me.

    • @thegamedevcave
      @thegamedevcave  5 днів тому

      since components dont take damage, but rather the actors that theyre on take damage, the component needs to bind a function to the damage event on it's owner instead. I recently made a video explaining a similar thing shown with blueprint that explains it maybe in some more depth : ua-cam.com/video/B_Os1jOV8Gg/v-deo.html

  • @SSB-U
    @SSB-U Місяць тому

    Question. Where you are calling TakeDamage function ? Or is it called by itself ?

    • @thegamedevcave
      @thegamedevcave  Місяць тому +1

      It runs in response to any kind of unreals built in apply damage functions like UGameplaystatics::ApplyPointDamage

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

    Virtus Learning Hub rpg in unreal playlist could be interesting as a guide since it hits on most needed elements: ua-cam.com/play/PLL0cLF8gjBpqA8DcrhL_O9kD4jsUqhDR6.html&si=E8yMjhTlRDb0nV08
    C++ is wat intimiderend al hoor ik dat UE Blueprints het een en ander opvangen voor programmeer noobs zoals ik. Bedankt voor deze tutorial👍