Scripting
Various scripting-related functions.
CREATE_MINION
action
Creates a an invisible, invulnerable minion creature file to run your custom script.
| STR_VAR | Description | Type | Default |
|---|---|---|---|
| cre | cre filename | resref | required |
| ea | EA allegiance | ids | NEUTRAL |
| name | cre name | string | |
| script | cre script | resref |
IS_ITEM_GIVEN_OR_CREATED_IN_SCRIPT
action
Returns 1 if item is given or created in the script, 0 otherwise.
| STR_VAR | Description | Type | Default |
|---|---|---|---|
| item | item resource | resref | required |
| script | script resource | resref | required |
| Return values | Description | Type |
|---|---|---|
| present | is item given or created in the script? | bool |