Page MenuHomeFeedback Tracker

enableSaving influences the saveGame command (intended?)
Closed, ResolvedPublic

Description

If you disable saving via enableSaving, then the saveGame command also stops working, fx.,

enableSaving [false, false];
saveGame; // does not save

Wiki states "enable: Boolean - allow manual saving", "manual saving" I'd imagine means the "SAVE" button in the menu, nothing related to the actual scripted "saveGame" command.
This can be worked around by enabling saving, and executing "saveGame" a frame later, but just wondering if this is intended or a bug.

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

sharp1337 updated the task description. (Show Details)
honger added a subscriber: honger.Oct 5 2022, 11:40 AM
dedmen closed this task as Resolved.Nov 14 2022, 12:34 PM
dedmen claimed this task.
dedmen added a subscriber: dedmen.

Seems to be intentional indeed.
For what you want to do, there is already the alt syntax.

enableSaving [false, true]
Will request and execute a autosave and turn off saving right after it. Which seems to be what you want to do here.
You'll have to stay with your workaround