[C++] How can Character BP edit & call component subclasses?
I want a certain functionality for my APSCharacter class, but am not sure how to do it.
APSCharacter is the base class. In game class differentiation will arise from creating blue print instances of APSCharacter and setting giving them different abilities.
I want to be able to:
My current failed attempt at this: (Excluding implementation for OnUse)
Relevant code from PSCharacter:
declaration of the component
initialization of PrimAugComponent in the APSCharacter constructor
the calling of OnUse() this is the function I want to call in the subclass implementation
Relevant Code from UAbility:
The function I want to overload
An example property I want to edit in the APSCharacter blueprint when I select the added UAbility components
ResevantCode from UAbilitySubclass:
the overriding of the OnUse function by my subclass.
Issues I'm currently having:
So, how should I go about this layout to get the effect I want? Where have I gone wrong?
asked Feb 23 '16 at 06:06 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here