Timed

Docs Behaviors

Effect

Ticks the given child behaviors for a given time.


Attributes

  • children (Behaviors): use inside the element instead of as an attribute.
  • time (int, default 0): time that it will tick for

Examples

<Behavior type="Timed" time="5000"> <Behavior speed="2">Follow</Behavior> <Behavior>Wander</Behavior> </Behavior>