Runs when a model is started, either initialized or resumed. The hasModel
argument distinguishes between these two cases, though modelPreSetup
or modelPostSetup
are preferred for hooking the initialization of a new model.
Required Parameters
model — Helipad
The model object
hasModel — bool
Corresponds to
model.hasModel
;True
if the model is resuming, andFalse
ifmodel.start()
initializes a new model.
Notes and Examples