Client sided melee system problem

I’m working on a melee system for my game right now and I want it to be client sided to make the hit detection feel very smooth and responsive. Obviously with this, I have to send my attacks to the server to be validated and damaged etc. But say I wanted to expand on the melee further, add some special attacks, even abilities etc that have their own damage and stuff, is there an efficient way to do this instead of just sending a million different events? Idk if im overthinking this

You have to at least send an event for every player-initiated thing, since there’s no way to know that information in advance. You could have one remote event that handles these though, and you could pass a table that describes its type and any variations the player can effect.

1 Like

Yeah that’s what I was thinking, I’ll just have one primary event that handles the attacks etc and send it through that way somehow

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.