Duration

Docs Behaviors

Effect

Behavior continues for a set amount of time


Attributes

  • child (Behavior): use inside the element instead of as an attribute.
  • time (int, default 10000): duration for how long behavior will last (in ms)

Examples

<Behavior type="Duration" time="5000"> <Behavior radius="15" count="3" coolDown="500">Shoot</Behavior> </Behavior>