For my map, I am trying to structure character skills using data tables. I made a preset data scope variable for each character skill; however, whenever I try to save data onto a new data table, the old data tables have their data overwritten by the new data.
Why is this happening? Is there only one global data table? I am pretty sure this is not the case as the editor gives the option of creating new data scopes.
There is only one data table afaik. Not sure if you can create more.
Also why are you using the data table for this? It's really only if you need to access variables by a string name, so if you're not using it for that you are better off using normal variables/arrays etc.
Also why are you using the data table for this? It's really only if you need to access variables by a string name, so if you're not using it for that you are better off using normal variables/arrays etc.
Can arrays store more than one type of variable? I could not find a way to do this, so I looked into data tables (Sorry, I am not too familiar with the trigger editor yet).
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
For my map, I am trying to structure character skills using data tables. I made a preset data scope variable for each character skill; however, whenever I try to save data onto a new data table, the old data tables have their data overwritten by the new data.
Why is this happening? Is there only one global data table? I am pretty sure this is not the case as the editor gives the option of creating new data scopes.
There is only one data table afaik. Not sure if you can create more.
Also why are you using the data table for this? It's really only if you need to access variables by a string name, so if you're not using it for that you are better off using normal variables/arrays etc.
Darn. I was hoping this was not the case.
Can arrays store more than one type of variable? I could not find a way to do this, so I looked into data tables (Sorry, I am not too familiar with the trigger editor yet).