8
Select Delegates Dialog 1057
Select Delegates Dialog
Create panel > Helpers > Object Type rollout > Crowd >
Setup rollout > Behavior Assignments > Choose or add a
team. > Add Members
Select a Crowd object. > Mod ify panel > Setup rollout >
Behavior Assignments > Choose or add a team. > Add
Members
The Select Delegates dialog lets you designate
delegates to be assigned to teams using the
Behav ior Assignments and Teams dialog (page
2–1052)
for assigning crowd behaviors.
Inter face
List box—Lists all delegates in the scene.
All—Selects all delegates in the list.
None—D e selects all delegates.
Inver t—Inverts the current selection.
Selection Sets—Choose an item from this to select
all members of the sele ction set. You must first
have created a selection set from one or more
delegates.
OK —Closes the dialog and implements changes.
Can cel—Closes the dialog and ignores changes.
Cognitive Controllers
Create panel > Helpers > Object Type rollout > Crowd >
Setup rollout > Cognitive Controllers
Select a Crowd object. > Modify panel > Setu p rollout >
Cognitive Controllers
The Cognitive Controller editor lets you combine
behaviors into states. More imp ortantly, it lets
you sequence different
behaviors (page 2–1011)
and behav ior combinations using state diagrams,
where condit ionals w ritten in MAXScript impose
changesinbehavior.Forexample,youcanspecify
that a character or object is to wander aimlessly
until it comes within a certain distance of another
object, whereupon it heads straight for that
object. Or you can specify that one character is to
avoid another only when the second character is
avoiding the first.
Note: The MAXScript conditionals used in the
cognitive controller typically consist of a single
line of code. You can load and save them separately
as
.ms
files, but they are a lso stored within the
.max
scenefileinwhichtheyreside.
The editor interface consists of an icon-based
toolbar above a window that contains the state
diagram. When you first open the editor, no state
diagrams exist. Begin by clicking the New button
to create a new state diagram.
Tip: If you find yourself consistently assigning
two or more behaviors to delegates or teams, you
can save time by combining the behaviors into
a single-state cognitive cont roller, or "behavior
module," and assigning that i nstead. The only
disadvantage is that you can’t animate the weig hts