Order of Run Start Broadcasts: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
(Importing text file)
 
m (changed list to numbered list)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<font face="Arial"><br /> Currently the following happens and PL sends the following BC sequence<br /> when a run is started:
Currently the following happens and PL sends the following BC sequence when a run is started:
 


START RUN ENGINE:
START RUN ENGINE:
*The model is initialised for run (phase 1)<br /> BC _Preinit Start<br /> BC _Model loaded (if its an initial run)<br /> BC _PreInit End
#The model is initialised for run (phase 1)
*The model is initialised for run (phase 2)<br /> GC _Run Start
#BC _Preinit Start
*model pauses or continues depending on options
#BC _PreInit End
#BC _Model loaded (if its an initial run)
#The model is initialised for run (phase 2)
#BC _Run Start
#model pauses or continues depending on options


The 2 stage init process was from an era when certain objects could not be changed once the run was going but the modeller needed an ability to initially set them up.


The 2 stage init process was from an era when certain objects could not<br /> be changed once the run was going but the modeller needed an ability to<br /> initially set them up. (the conveyor is still like this). Also item "preloading" happens in the<br /> second phase of the initialisation of the run.
----




Two changes I'd like to make:
*move the _Model Loaded BC to occur just before _Run Start. This will allow it to trigger messages, etc. which it cant at the current time it<br /> is sent
*reduce use and eventually eliminate dependence on the 2 _PreInit<br /> broadcasts by modellers.


<font size="2">idkbase note 205</font>


(followup: these BCs wont be removed as they are useful for modeller's setup use)<br />
[[Category:Broadcast]]
 
 
</font>
----
[[Category:Broadcast/System]]
[[Category:Runtime Engine]]
[[Category:Runtime Engine]]
[[Category:Question]]
[[Category:FAQ]]
<font size="2">idkbase note 205</font>

Latest revision as of 11:05, 13 January 2008

Currently the following happens and PL sends the following BC sequence when a run is started:

START RUN ENGINE:

  1. The model is initialised for run (phase 1)
  2. BC _Preinit Start
  3. BC _PreInit End
  4. BC _Model loaded (if its an initial run)
  5. The model is initialised for run (phase 2)
  6. BC _Run Start
  7. model pauses or continues depending on options

The 2 stage init process was from an era when certain objects could not be changed once the run was going but the modeller needed an ability to initially set them up.



idkbase note 205