Is it possible to write locationdata from an Actor into a Data Table?
Hey, is it possible to write locationdata from an Actor into a Data Table? With an Timeloop or an KeyPress or Somthing like that?
asked Apr 27 '18 at 01:29 PM in Blueprint Scripting
from all ive seen its not possible to write data into a datatable at runtime. datatables are meant for referencing things only, what you would want to use is an array of structs. using an array of structs would allow you to have the same basic functionality as a datatable but would allow you to write and save data into it. you could also take the information from a datatable and use it to initialize the array at the beginning of the game.
answered Apr 27 '18 at 02:22 PM
No, Data Tables are static and read only. You'd need to rewrite them.
You can save data into an array of structs (which the DataTable is already using anyway). And then store the array in a SaveGame object.
answered Apr 27 '18 at 02:21 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here