Using Behaviors

Introduction

Behaviors can be used to modify the way certain assets behave or how they interact with other assets. Two types of asset can be controlled using behaviors: actors and attractors.

Controlling Actor behavior

Unless modified with a behavior, any actor that has been assigned a circuit will immediately begin to walk along the path defined. A behavior can be used to delay the start of motion and to restart and stop it at set times during the simulation.

Controlling Attractor behavior.

Attractors influence the behaviors of actors that come within their area of influence. The detailed behavior of the actors is affected by the attractiveness setting of the attractor and this can be modified using a behavior to increase or decrease it at set times during the simulation.

Features

(Fig.1) Actor - Behavior

Editor_ Scene Functions - Actors - Behaviors.png

Remove all behaviors
Add a new behavior
Actions
Action selection
Interest level input
Movement action
Resume: restarts movement on a different circuit, if ones available
Retire: stops walking
Attractiveness level - changes the attractiveness of an attractor
Triggers
Trigger selection
Attractor name - the name of the attractor you want the actor to interact with
Time (in seconds)
Contect Object ID
Action name (optional) - behavior name

Adding a behavior

To add a behavior, select either an actor or an attractor and click on the behavior dropdown, then click on Add Behavior.

Setting an action

Under the action dropdown, select the action to be performed. At present, only one action is available; for actors this motion and for attractors this is change attractiveness.

Setting a trigger

Under the trigger dropdown, select the trigger for this action. At present only time based triggers are available, defined in seconds since the start of the simulation.