Run Script
Run several tools as ONE undoable transaction. If any step fails, every earlier step is rolled back and the project is left exactly as it was. On success the whole batch is a single Ctrl+Z for the user. Only tools that the transaction system can genuinely reverse are allowed. Saving, deleting, importing, opening levels and PIE are refused, because their effects survive an undo and the rollback would be a lie.
hf_run_scriptWriteArguments
| Name | Type | Description |
|---|---|---|
stepsreq | array | Tools to run in order. |
description | string | Label for the undo entry the user will see. Describe the intent, not the mechanics. |
Related tools
Nearby in Scripting: