With this I am trying to get my weapon to deal damge to the A.I and I have no idea on what to put next within the code as I am still brand new to blueprint.
1 Like
- ensure the green float variable has a value you need - that’s the max distance in centimetres
- you’re tracing on the
Visibility
channel, ensure the enemy’s capsule component blocks that channel - check its collision settings - implement this event in the enemy:
If it does not work, Print String
Display Name
of the Hit Actor
from the trace and tell us what it says.
1 Like
Thanks this hleps me out a lot.
1 Like