add_entity_scripts
Attach registered scripts to multiple entities, automatically creating script components when absent to enable gameplay behavior.
Instructions
Attach a parsed script to one or more entities, creating script components when needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Execution order index | |
| script | Yes | Registered script name | |
| entityIds | Yes | ||
| attributes | No |