Right, gotcha!
Ok everything seems to be working except for the Init function.
I’ve declared the Init function as
void Init(UGameCharacter* target);
directly below the constructor in the header file but it kicks back giving me a ‘missing type specifier’ error.
Do I need to set its return value to the actual TestCombatAction object itself?
Might give that a try
Edit : Scratch all that. I’m an idiot. I forgot to put the void return type in the cpp file buries head in hands haha
It’s giving me a linker error now towards the Combat UI Widget where AttackTarget (an exposed blueprint function in Combat UI Widget script that exposes the target for use with the TestCombatAction), but that’s probably down to some weird circular dependency I’ve done.
Thanks for you help, I really appreciate you being so ■■■■ patient! haha