Defined in:Resumes a script method after a saved game is loaded.
virtual void ResumeMethod(const ScriptState *state);
||The current script state.|
ResumeMethodfunction is called by the script controller after a saved game is loaded if the method was executing at the time that the game was saved. The override of this function should perform whatever actions are necessary to resume the execution of the method from the state that it was in when the method was previously saved.
It is only necessary to implement the
ResumeMethodfunction for methods that take time to execute. If a method completes execution within the
Method::ExecuteMethodfunction, then it can never be in the executing state when a game is saved.