Class: RepeatUntilSuccess

Decorators. RepeatUntilSuccess

RepeatUntilSuccess is a decorator that repeats the tick signal until the node child returns `SUCCESS`, `RUNNING` or `ERROR`. Optionally, a maximum number of repetitions can be defined.

new RepeatUntilSuccess()

Members


parameters :Object

Node parameters.
Type:
  • Object
Properties:
Name Type Description
parameters
Properties
Name Type Description
maxLoop number Maximum number of repetitions. Default to -1 (infinite).

Methods


validators()

defines validation methods to execute at the editor; if one of them fails, a dashed red border is displayed for the node
Returns:
Type
Array.<Validator>