Restart
Restart

Restarts the game.

bSuccess = myStoryboard.Restart( )

Return value
TRUE if the game restarted successfully, otherwise FALSE.

Comments

This function swaps the frame back to the first, clears the global values, etc. so that the game continues as if being run from the start.
As for SwapFrame, you should call Return soon after calling this.

See also
Storyboard:NewFrame
Storyboard:SwapFrame
Storyboard:NextFrame
Storyboard:PreviousFrame
Storyboard:RestartFrame



JAM © 2005 no one in partiular
Project started by David Evans in 2005