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?
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?