-
Notifications
You must be signed in to change notification settings - Fork 44
Upcoming Features
Darkly77 edited this page Feb 27, 2023
·
17 revisions
This page cover features that are currently only on the develop branch.
When features here are merged into main and published in a release, their content will be moved to the proper location.
via: #143
There are 2 methods you can use to save data to a file:
save_string_to_file(save_string, filepath)
func save_string_to_file(
save_string: String,
filepath: String
) -> boolExample:
var my_string = "hello world"
ModLoader.save_string_to_file(my_string, "user://custom_1.txt")save_dictionary_to_file(data, filepath)
func save_dictionary_to_file(
data: Dictionary,
filepath: String
) -> boolExample:
var my_dictionary = {
"foo": "bar"
}
ModLoader.save_dictionary_to_file(my_dictionary, "user://custom_2.json")These features have been merged into main and released, but there's no documentation for them yet.
Warning
This documentation has moved!
You can find it here: https://wiki.godotmodding.com/
- Home
- Getting Started
- ModLoader API
- Reference
- Guides
- Versions & Releases