InvokeOutput
Syntax
invokeOutput([1 for success, 0 for failure])
Return: void
Description
Used for invoking one of the two outputs of the given Ember node. It should be treated like a return and be after the rest of the logic in the script.
Note: InvokeOutput MUST be called to invoke outputs properly in the Behavior Tree.
invokeSuccess()
and invokeFailure()
can be used as well rather than passing a 1 or 0 as a param to invokeOutput
Sample Usage
Return "Success" from the Ember script
invokeOutput(1)
Last updated