Finally script is working.
Ship shoots and repairs but sometimes it gets sunk. It can not move. Mouse clicks in the corner but ship is not moving and tryin to rep while standing near NPCs.
it's not working the way it should. It still dies wasting cannonballs.
Please help!