Hi, This is my Saving Function
And seems to work (well it generates a file)
What would be the loading equivalent of this? how could I load the Type information back into an empty Type collection, and how does blitz know how many types are in the type collection?
Function FNT_Save() SaveFile = WriteFile("Level.txt") For Level.LevelAssets = Each LevelAssets Level\xpos = EntityX(Level\BlockHandle) Level\zpos = EntityZ(Level\BlockHandle) Level\Rotation = EntityRoll(Level\BlockHandle) WriteInt( SaveFile, Level\xpos ) WriteInt( SaveFile, Level\zpos ) WriteInt( SaveFile, Level\Rotation) Next CloseFile(SaveFile) End Function
And seems to work (well it generates a file)
What would be the loading equivalent of this? how could I load the Type information back into an empty Type collection, and how does blitz know how many types are in the type collection?