Loading

Revision differences

Old revision #phdm6qd78New revision #p6zakjusz
1 * After determining the script to use, starting it is done as follows  1 * After determining the script to use, starting it is done as follows  
2 *  2 *  
3 * - An instance is constructed of the class derived from ScriptController  3 * - An instance is constructed of the class derived from ScriptController  
4 *   (Class name is retrieved from ScriptInfo::CreateInstance)..  4 *   (Class name is retrieved from ScriptInfo::CreateInstance).
5 * - If there is script data available in the loaded game and if the data is  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  6 *   loadable according to ScriptInfo::MinVersionToLoad, #Load is called with the  
7 *   data from the loaded game.  7 *   data from the loaded game.