I'm designing a hack and slash game and I've written a script for the enemy so it reaches the player, I want to know how can I make it hit the player randomly when it is nearby the player?
Any helps would be appreciated.
↧