I am attempting to make a plug-in which adds a mission which allows you to bet on large battles between Fed and Rebel fleets.
Currently I have it set up so that the Rebels are the auxilary ships and follow me.
The Feds are the special ships and they show up in the system where I accept the mission, I have the job of killing them.
To avoid the possibility of cheating ie. blowing up the Feds or Rebels in order to win, I created a new dude resource for the Feds and Rebels with the flag of never attacking me and I cannot attack them. This also fixes the problem of the Feds attacking me.
My problem is that the Feds seem to always flee after a few seconds, not enough time for a battle. To fix this I edited the Fed ship flags so that they would not run away if out of ammo and so that they would not favor standoff attacks. I also changed the Fed governments so that they would not flee if their shields dropped below a certain level. Yet they still run away.
I could fix this with a longer time limit so that the Rebels get a second shot at them, but the Rebels (auxilary ships) don't seem to reappear.
How can I get the Feds to stay until the fight is over?
And also, how do I make it so that if I fail the mission (through time running out, I know no other way) I lose the same amount as the amount that I would win if I won the bet (Feds getting destroyed).
------------------
Support USA Patriot Act let real Americans take away our rights before those darn foreigners can try.
All the problems of the world can be solved by good parents and good water.
Depression was depressing, but insanity, now that's something I can get really get into!
"And in this their similarities diverged"