////////////////////////////////////////////////////////////////////////////////
// scene state
global StateOther;
// default values
if(StateOther==null)
{
StateOther.Visited = false;
StateOther.StoneFloor = true;
}
////////////////////////////////////////////////////////////////////////////////
// setup scene according to state variables
if(StateOther.StoneFloor)
{
}
////////////////////////////////////////////////////////////////////////////////
if(!StateOther.Visited)
{
StateOther.Visited = true;
// this is our first visit in this scene...
}