I have been searching online for quite a while for something that can walk me through this.
I am looking to develop a basic melee system for a blueprint, multiplayer game. Character has sword in handle, left clicks, it swings and damages another player if within range. I know most of the logic behind how such a system will work but getting it taken care of in blueprints is tripping me up. I don’t want to make the system based on overlap because changing variables like arc and distance will then rely on the size of the weapon. Rather something like
If player left clicks ->
Has melee equipped: true ->
If enemy player is X distance from in front of self ->
Trigger event hit for enemy player ->
Deal damage etc.
Thank you !