Hi all!
I have a strange bug with a custom turret, the bug is that the turret rotate the angle in which it can shoot after have shooting on enemies that are on the border of angle.
Here there's a video that show the bug: https://www.youtube.com/watch?v=thR_A7n ... e=youtu.be
Here there's the lua which define the turret: https://pastebin.com/Sggk7wef
Thank to all for reading and for future answers.
[Help] Custom turret rotate on his own after shooting
Re: [Help] Custom turret rotate on his own after shooting
I think you need to set turret_base_has_direction = true in the turret prototype definition (see flamethrower-turret in base mod)
Re: [Help] Custom turret rotate on his own after shooting
I will try it, thank u a lot!