The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

Stop statement

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

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.


To halt state code execution, simply use:


That's all.