Documentation

GameState

GameState(newstate)

Get/Set Global State.

Argument 'newstate':Set new engine state, -1 to skip.

Current state of the engine.

Example Code

	if ( GameState() == 0 )
	{
		if ( InputButton(0) )
		{
			GameState(1);
		}
	}
	else
	{
		MoveEntity();
	}
	

Comments

Comming Soon