2009

Remove Eliminates the highlighted behavior from the state.
Weight Specifies the selected behavior's relative influence in the state.
Default=1.0.
The higher the weight in relation to other behaviors' weights, the more evident
the results of the behavior in the state. In most cases, you should keep Weight
within a range of 0.0 to 1.0. Higher settings are available but shouldn't be
used unless absolutely necessary.
OK Closes the dialog and implements changes.
Cancel Closes the dialog and ignores changes.
State Transition Dialog
Create panel > Helpers > Object Type rollout > Crowd > Setup rollout >
Cognitive Controllers > Right-click a transition line.
Select a Crowd object. > Modify panel > Setup rollout > Cognitive Controllers
> Right-click a transition line.
These settings control how the software effects a transition from one state to
another when using a
cognitive controller on page 4857. For more detailed
information, see
To set up and use a cognitive controller on page ?.
The Transition Script
The most important element of the transition is the MAXScript conditional
script. This is a script associated with the controller that is executed once per
frame, and can test any aspect or aspects of the scene and cause a transition
or not, depending on whether the result of the test is successful (true, or 1)
or unsuccessful (false, or 0).
The software executes scripts once per frame per assigned delegate, so objects
and effects can be animated and still let delegates react with accuracy.
All scripts used in transitions use the following structure:
fn [FunctionName] del t = (
[MAXScript code]
if [MAXScript conditional]
then 1
else 0 )
Crowd Animation User Interface | 4861