Hello Devs,
I am trying to create a game in which AI controlled fleets of spaceships fight on their own.
They are controlled by a “midpoint” a control center for the ships. This midpoint moves linearly from planet to planet using tweenservice.
(the little red block is the midpoint. All ships follow their assigned midpoint.)
However, I want the midpoint to be able to slow down or stop when it engages an enemy midpoint so the ships have time to fight before they separate. I know this cannot be accomplished with tweens.
How should I go about scripting this? Thank you in advance.