Skip to content
Jigwright
HullForge docs

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_scriptWrite

Arguments

NameTypeDescription
stepsreqarrayTools to run in order.
descriptionstringLabel for the undo entry the user will see. Describe the intent, not the mechanics.

Nearby in Scripting: