Skip to content

SetEngineState

Description

Sets the state of the engine.

Parameters

state

The engine state to set the engine to.

Return Value

Sets SceneInfo->state to the given state, preserving step-over mode if it's enabled.

Syntax

RSDK.SetEngineState(uint8 state);
Stage::SetEngineState(EngineStates state);

Example

RSDK.SetEngineState(ENGINESTATE_FROZEN);
Stage::SetEngineState(ENGINESTATE_FROZEN);