Turret Targeting

Blitz3D Forums/Blitz3D Programming/Turret Targeting

pointentity or aligntovector on the z axis.
to find the closest entity i would check to see if the enemy is in range with entitydistance and then if it is in range check its distance aganst the othe entitysin range.