Originally posted by SpacePirate:
**You can indeed use the random function to do exactly this. This will involve at least 5 missions and 3 bits, all only available if the original mission was completed.
Have an autoaborting mission #1 be available 100% of the time in the spaceport, and make it invisible. In the OnAbort field, have " r(s misn2 , s misn3 ) ". Missions #2 and #3 are both autoaborting invisible missions, with an availibility of 0%. In mission #2, have the OnAbort field be "r(b (bit2) , b (bit3) )", and mission (#3)'s OnAbort will be merely "b (bit3) ". The above missions will need to have bit 1 (set by the mission before these) set.
For the fourth mission, the "Mission available" mission, have the Availibility field be "b (bit1) & b (bit2) ". This will give it a 25 percent chance of being active. The last mission will need it's availability to be "b (bit1) & b (bit3) ". This will be the "Not available" mission, which will be available otherwise.
This will always set either bit 2 or 3, so it will always show one of those two missions, but never both at once.
Thanks for all the thoughts everyone. They're all good ideas but this one just seems cleanest. I'll have to use this a bit more sparingly than I had originally hoped, it's that or limit the plug with about 200 missions...
Anyway, thanks for the answers, don't expect the TC anytime soon. At least not until next summer, if it ever gets done. And if anyone else wants it, the idea is free for you to use in you plug.
Caution: Be careful when attemping communication with an Ernimtir under the influence of himself.
(url="http://"http://gramathy.blogspot.com/")Das Güd Blog(/url)