#include "scripts\base.inc"
// here comes the stuff which initializes the scene
new_actor.SkipTo(400, 400);
new_actor.Direction = DI_DOWN;
new_actor.Active = true;
////////////////////////////////////////////////////////////////////////////////
// scene state
global Statestarttest;
// default values
if(Statestarttest==null)
{
Statestarttest.Visited = false;
// add scene states here
}
////////////////////////////////////////////////////////////////////////////////
// setup scene according to state variables
////////////////////////////////////////////////////////////////////////////////
if(!Statestarttest.Visited)
{
Statestarttest.Visited = true;
// this is our first visit in this scene...
}