Auto Fire for turrets, minions/npcs, and players like league of legends

I’m new to this whole thing. But I was wondering if anyone knew how to make the code for turret, npcs, and players to auto-fire on enemy npcs and players like in league of legends where when an enemy is in range and the turrets, and minions will fire, and with players how they’ll use their normal attacks instead of their abilities.

Or if anyone knows where I can find a tutorial video or something that can show me that along side coding the range and damage alongside it because so far my search for something that could help me with this has been fruitless so far. Any help would be lovely.

Carbonic Acid Studios did an series about it on YouTube,but I’m not sure if it’s 1:1 thing for League of Legends

1 Like

Hey!

This tutorial might help, you should be able to adjust it.

1 Like