Help me understand these references/variables a bit better

Seems like CurrentLockedOnTargetID is of type Actor so a cast is needed to BP_EnemyBaseClass to access its data.

If you want both to behave the same then both variables should be of type BP_EnemyBaseClass.

Makes sense?

1 Like