I had an idea for my AI, i want to know what you think.
The enemy ships will fly in circles constantly, untill the player ship enters a specific range (lets say 5units). The enemy will detect if the player ship has entered range like this:
(player = obj 1, enemy = obj 2)
move object 2,.2
turn object left 2,.5
em=1
move object 2,5
move object 2,-5
em=0
if em=1
if object collision(1,2) then print "collision"
endif
Do you think this system will work? I have been experiminting with a test program and havnt quiet got it but im sure i will. But do you think this system is effective.