I’m a little unclear what’s going on here, but are you setting this?
and this bit wont work because the ref is empty:
Might be an idea to set the enemy ref here: