Page MenuHomeFeedback Tracker

Scripting command to check if profile vars file is writable
Assigned, WishlistPublic

Description

There is a need for command that will check if profile namespace vars file is writable because some players set it to read-only to prevent mission that depend on saving to profile namespace from saving or updating mission-critical variables.

Details

Legacy ID
3350617269
Severity
None
Resolution
Open
Reproducibility
N/A
Category
Feature Request
Additional Information

Suggested syntax:

isProfileNamespaceWritable

returns bool

Alternatively and more preferably make saveProfileNamespace return boolean on whenever saving was successful.

Event Timeline

SaMatra edited Steps To Reproduce. (Show Details)Jun 14 2014, 3:17 PM
SaMatra edited Additional Information. (Show Details)
SaMatra set Category to Feature Request.
SaMatra set Reproducibility to N/A.
SaMatra set Severity to None.
SaMatra set Resolution to Open.
SaMatra set Legacy ID to 3350617269.May 7 2016, 6:45 PM
SaMatra edited a custom field.

You can do a check by yourself, write one then read to know if it is writable I suppose, not a huge workaround

EDIT: On second thought, this will require game restart as values are read from memory after assignment. At the moment saveProfileNamespace returns nothing, but making it return boolean (true) on successful file operation would probably be the easiest solution.

so +1