Script

A Script Behavior (beScript) executes a MEL/Python command at each frame.

A Script Behavior will execute its command each frame until it is stopped by its trigger. It does not automatically stop after first computation.
 
Script Behavior in the Behavior Editor

CREATION

  • Behavior Editor / Behavior Library:
  • Golaem Menu: Crowd Behaviors / Behaviors / CrowdBeScript Node
  • MEL command: glmCrowdBeScriptCmd;

CONFIGURATION

A Script Behavior defines the following specific attributes. For common attributes see Behavior Common Attributes.

Script Attributes

Script attributes of a Script Behavior
Command

MEL/Python script command called when the Behavior is run

Language The command language, MEL or Python
Display Command Display or not the command in the Script Editor
This command may contain special tags such as #pid#, #ps# or #gid# to interact with particles (see Technical Documentation).