Download

Questions on how to do this

What I want to do is have two characters and probably more

        [Base Character]
      /             |               \

[Char A] [Char B] … [Char N]

I have certain variables/functions that I want all characters to have access to such as

  • Health
  • Armor
  • Access to pick ups (bool)
  • The functions that go with them
  • Certain functions that every character uses (death, health effects, ect)

Is there a way I can setup a base class then inherit it with my other classes? I have tried but they haven’t worked as I’m unsure how inheritance works in Unreal C++.