9

State Dialog 1207
with the earlier state. The transition appears as
a black arrow pointing from the first state to the
second. Alt ernatively, if you click a state with
the Create Transition tool active, you create a
transition that loops back to the state itself.
Right-click a transition to specify its characteristics
and conditions by editing the transition. This
opens the State Transition dialog (page 2–1208).
Set Start StateNormally the state that
executes first in a cognitive controller is the one
that was added first. Use this tool to choose a
different state to execute first. The start state is red;
the rest are blue.
Typically you would use this when you have a
circular sequence of st ates, and you want to change
which state executes initially.
Move StateLets you move states around in
the window by dragging them.
Select State/Transition—Lets you select states
and transitions for subsequent deletion. Selected
states have white outlines, and selected transit ion
lines a re white.
You can select multiple stat es by dragging a box
around them. You can select multiple states and
transitions by holding the
Ct rl key as you click.
Delete State/Transition—Lets you delete one
or more states or transitions. First select any
combination of states and transitions to delete,
and then click this button.
(Nam e)—Shows the name of the current state
diagram. To display and/or edit another, choose
it from the list.
To change a state diagram’s name, click t he name
in the box and use the keyboard to edit the text.
New—Adds a new cognitive controller. By default,
cognitive controllers are named “Cognitive
Controller” followed by a number, but you can
change this to anything you like.
Delete—Deletes the current cognitive controller.
This is an undoable operation.
State Dialog
Create panel > Helpers > Object Type rollout > Crowd >
Setup rollout > Cognitive Controllers > right-click a state
icon.
Select a Crowd object. > Modify pa nel > Setup rollo ut >
Cognitive Controllers > ri ght-click a state ico n .
The State dialog lets you add behaviors to, and
remove them from, a cognitive controller state in
a crowd simulation, and specify weights for each
behav ior.
Interfa ce
State nameDisplaysthenameofthestate.
To change the name, click this text and edit f rom
the keyboard.