Understanding Child blueprints

Hey everyone.

I have a question regarding Child blueprints.

My character needs to be able to attack multiple types of ennemies (Skeletons, Goblins, Vampires, you name it.), so im thinking each one should have his own blueprin. They all share similar functions that the character when using his attack (Which is a raycast, and then cast to the parent blueprint to verify that it is an ennemy) should be able to call. For now those are Function TakeDamage, Destroy, SlowDown and similar type of effect functions.

But, every enemy has different starting stats, which are HP, Speed and Damage. The problem im having with Child blueprints is that I dont see a way to create a child BP, and then modify the base values of the HP speed and Damage variables that I had in my Parent blueprint.

How can I modify this base values in the child blueprint itself?

Thanks.

Hello,

You need to make the variable Editable. If you select your variable and view the details in your parent blueprint, you should see the property “Editable” and it will be available to child blueprints when that is checked.

There may be a better way to do this, but I haven’t found one.