Wikis / Unreal Wiki / Stop statement

The stop statement is only allowed in state code and immediately halts state code execution without leaving the state. To restart state code again, you need to call the GotoState() function with the desired new state and/or label name.

To stop function code execution use the return statement instead.

Syntax

To halt state code execution, simply use:

stop;

That's all.

Page Categories

Page Information

2022-11-18T06:58:06.518074Z 2008-10-31T11:02:34Z Wormbo New page: The '''stop''' statement is only allowed in [[state]] code and immediately halts state code execution without leaving the state. To restart state code again, you need to call the ''GotoSta... https://wiki.beyondunreal.com/Stop statement Attribution-NonCommercial-ShareAlike 3.0