VisualScriptCustomNode.Constants

Values

ValueMeaning
startModeBeginSequence0
startModeContinueSequence1
startModeResumeYield2
stepPushStackBit16777216

Hint used by _step to tell that control should return to it when there is no other node left to execute. This is used by VisualScriptCondition to redirect the sequence to the "Done" port after the true/false branch has finished execution.

stepGoBackBit33554432

Hint used by _step to tell that control should return back, either hitting a previous STEP_PUSH_STACK_BIT or exiting the function.

stepNoAdvanceBit67108864
stepExitFunctionBit134217728

Hint used by _step to tell that control should stop and exit the function.

stepYieldBit268435456

Hint used by _step to tell that the function should be yielded. Using this requires you to have at least one working memory slot, which is used for the VisualScriptFunctionState.

Meta