Ok, posting here as I am trying to figure out how I got something to work in the past but I lost the files and am trying to recreate it.
Basically, creating a passive ability for planets and other locations that will "pull" ships back to the gravity well that have gone off into deep space trying to "chase" a target or some such.
So far, I have the ABILITY (pastebin links) created, which applies buff to self on the orbit body, points to this BUFF which adds a periodic BUFF 2A to ships within the gravwell and a BUFF 2B to ships outside the gravwell. Right now I have a modifier to speed/turn/accel just to make sure this part was working and it is. BUFF 2B applies BUFF 3 if the ship does not have BUFF 2A which should "pull" the ship back to first spawner, the planet, until it is in range to get BUFF 2A reapplied.
I have missed something here and I don't know what it may be. Something like this worked in the past but I lost the files in an unfortunate OneDrive mishap. Maybe I don't have the pull hard enough and/or need to disable engines in BUFF 2B or BUFF 3? I know I currently have the ranges set to 100,000 and 200,000 currently, that was just the last test I performed. Was originally 80,000 and 120,000.
If anyone knows of a better way to do this I'm open as well. just want to stop the scenario of a corvette chasing another corvette forever causing all enemies of one or both corvettes to then chase them when they arrive in the gravwell. This particularly affects AI units and Mercs/Rebels/Pirates.
Thank you in advance for any insight