General Tso
Panzer General
Can you only save one set of ScriptData at a time?
For example if I do this:
CyGameInstance.setScriptData(pickle.dumps(myGameData))
Then do this:
CyUnit.setScriptData(pickle.dumps(myUnitData)) (Where CyUnit is one of the units in the game.)
Does the data from the second line replace the first line or would there now be two sets of data available for recall using CyGameInstance and CyUnit?
Edit: Another question: Why can't I get rid of the space in "myGameData" above. It doesn't show up when I edit the post.
For example if I do this:
CyGameInstance.setScriptData(pickle.dumps(myGameData))
Then do this:
CyUnit.setScriptData(pickle.dumps(myUnitData)) (Where CyUnit is one of the units in the game.)
Does the data from the second line replace the first line or would there now be two sets of data available for recall using CyGameInstance and CyUnit?
Edit: Another question: Why can't I get rid of the space in "myGameData" above. It doesn't show up when I edit the post.