Today I learned how to extend scripts. It helps generate variations of a base node so I can override methods to have different types of turrets:
- Attack the first target detected
- Attack all targets within range
- Attack the lowest hp target
Here's a tiny demo!