We have write_file method that allows custom data to be stored. Is there corresponding method exists to get that data?
Specifically I'm looking for a way to save/load player's inventory to transfer it from one map to another. Probably, there is another way to do so?
Is there smth like read_file?
- DedlySpyder
- Filter Inserter
- Posts: 253
- Joined: Fri Jun 20, 2014 11:42 am
- Contact:
Re: Is there smth like read_file?
No you can't read files. I think the reasoning is for Multiplayer desyncs.
You could try to do something like blueprint string though.
You could try to do something like blueprint string though.
Re: Is there smth like read_file?
Well, this can be easily avoided by making file saving-loading have player as argument.DedlySpyder wrote:No you can't read files. I think the reasoning is for Multiplayer desyncs.
I'm new here, is it reasonable to write 'bout this issue in interface request section?
Re: Is there smth like read_file?
Yes. Maybe at some point they will realize that a file API is really essential.avatarDr wrote:I'm new here, is it reasonable to write 'bout this issue in interface request section?
- DedlySpyder
- Filter Inserter
- Posts: 253
- Joined: Fri Jun 20, 2014 11:42 am
- Contact:
Re: Is there smth like read_file?
You can try, but it's been suggested and shot down before IIRC