I love the smell of UnrealEd crashing in the morning. – tarquin
Stop statement
From Unreal Wiki, The Unreal Engine Documentation Site
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.
[edit] Syntax
To halt state code execution, simply use:
stop;
That's all.
| Declarations | Classes • Interfaces • Variables • Enums • Structs • Constants • Functions • Operators • Delegates • States • Defaultproperties • Subobjects |
|---|---|
| Types | bool • byte • float • int • name • string • Object • Enums • Structs • Static arrays • Dynamic arrays • Delegates |
| Literals | Boolean • Float • Integer • Names • Objects • Vectors • Rotators • Strings |
| Flow control | Break statement • Continue statement • Do loop • For loop • ForEach loop • GoTo statement • If statement • Return statement • Stop statement • Switch statement • While loop |
