Loading

Paste #p6zakjusz

  1.  * After determining the script to use, starting it is done as follows
  2.  *
  3.  * - An instance is constructed of the class derived from ScriptController
  4.  *   (Class name is retrieved from ScriptInfo::CreateInstance).
  5.  * - If there is script data available in the loaded game and if the data is
  6.  *   loadable according to ScriptInfo::MinVersionToLoad, #Load is called with the
  7.  *   data from the loaded game.
  8.  * - Finally, #Start is called to start execution of the script.
  9.  *
  10.  * See also http://wiki.openttd.org/AI:Save/Load for more details.
  11.  *

Version history

Revision # Author Created at
phdm6qd78 Anonymous 04 Jan 2015, 15:09:05 UTC Diff

Comments