Satisfying Work Orders
#11
Posted 09 July 2014 - 01:28 PM
Edward K.
#12
Posted 09 July 2014 - 01:31 PM
beresford, on 09 July 2014 - 02:03 AM, said:
OR will trip Time Events in the same manner as MSTS, BUT Action Events will not trip if post-Activated. You guys can take my word for it and I'll raise a bug report, or you can see for yourselves.
Ah, this was the kind of thought I had swirling around about this bug but didn't get around to the logging to prove it (sorry!).
#13
Posted 10 July 2014 - 03:16 AM
James, can I assume that you are on the job of investigating Events? I get the impression that the MSTS logic is as follows:
IF <Condition> is currently satisfied
AND Activation Level >= 1
AND Event has not yet triggered
THEN Trigger Event
#14
Posted 10 July 2014 - 05:25 AM
beresford, on 10 July 2014 - 03:16 AM, said:
IF <Condition> is currently satisfied
AND Activation Level >= 1
AND Event has not yet triggered
THEN Trigger Event
I'm not going to have any time to fix this in the next few weeks so someone else is welcome to make a fix for it - I just happen to have been fiddling around near the events code recently so had an idea on what the issue might be.
That logic is correct AFAIK and is what OR uses... however, that logic is only re-evaluated in OR when the condition is satisfied, not when the event's activation level changes, I believe.
#15
Posted 10 July 2014 - 11:07 AM
James Ross, on 10 July 2014 - 05:25 AM, said:
That logic is correct AFAIK and is what OR uses... however, that logic is only re-evaluated in OR when the condition is satisfied, not when the event's activation level changes, I believe.
I figured the expression was probably scheduled continuously rather than being invoked by anything. I wasn't actually talking about coding the solution, I was referring to identifying the scope of the problem. I've proven (to my satisfaction) that this is how MSTS and OR do the 'drop off cars' Action Event, but is it safe to assume that all the other Action Events are the same?
#16
Posted 11 July 2014 - 11:55 AM
Edit: This was a quick and dirty test.
Edward K.
#17
Posted 14 July 2014 - 09:58 AM
Edward K.
#18
Posted 26 July 2014 - 07:50 PM
#19
Posted 30 July 2014 - 01:56 PM
Edward K.
#20
Posted 08 August 2014 - 03:18 PM
Edward K.