I have a cron event which is designed to take place just after the player has taken on either the 'Head to Earth' or 'Head to Neilha Memorial Station' misns near the end of the Polaris storyline.
Within the standard Nova package (running on Windows), if the player had chosen to Head to Earth, then b315 would be set: if to Neilha Memorial Station, b314 would be set. Once the player finishes that misn and heads back to Ar'Za Iusio (or whatever that place is...), b334 is set, among others.
I implemented tests for both of those ncbs in my cron's EnableOn string. I also included a restriction that it will not fire if a custom control bit is set (meaning that the cron has already fired).
Thus, my cron event (for Head to Earth -- the Head to Neilha version is almost precisely similar) is as follows:
Name: Flagship of the Federation Invasion
All First/Last Dates: -1
Random: 100
Duration: 0
Pre-Holdoff: 1
Post-Holdoff: 0
EnableOn: b315 & !(b7314 | b334)
OnStart: K207
OnEnd: b7314
However, despite having a Pre-Holdoff set*, the cron still doesn't happen. I double, triple, quadruple, and quintuple-checked my pilotlog, and I can say with absolute certainty that only b315 is set. EnableOn should evaluate to true: (b7314 | b334) == 0, b315 & !0 == 1.
This leads me to believe that there is a bug, or something is documented way too little... =/
- After lengthy searches, I read a post on the boards which said crons don't work if Duration, Pre-Holdoff, and Post-Holdoff are all zero. I deliberately set Pre-Holdoff to 1 for that reason. However, the cron still isn't working.
------------------
(This message has been edited by Spuzzum (edited 08-13-2004).)