i try to save items in a bank file. I watched tutorials for saving integers and it was working correctly.
But i can't save and load items. I read many old tutorials here in the forum, but most maps are broken and many post end in, read more older posts.
Currently i have only one item, and a test bank file. I attach some screenshots, i try to archive to save the inventory not the character unit.
I attach also the bank file, the name of the item and the item count in the inventory is saved correctly, but i if reload the map the inventory is empty.
If you can provide any tips or have working test maps, pls let me know.
Items in the inventory are units so you need to save the unit ID string and on load recreate the item. Alternatively use User Data and have a table of your items and an index integer to use.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Hi,
i try to save items in a bank file. I watched tutorials for saving integers and it was working correctly.
But i can't save and load items. I read many old tutorials here in the forum, but most maps are broken and many post end in, read more older posts.
Currently i have only one item, and a test bank file. I attach some screenshots, i try to archive to save the inventory not the character unit.
I attach also the bank file, the name of the item and the item count in the inventory is saved correctly, but i if reload the map the inventory is empty.
If you can provide any tips or have working test maps, pls let me know.
Items in the inventory are units so you need to save the unit ID string and on load recreate the item. Alternatively use User Data and have a table of your items and an index integer to use.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Thank you for your reply, DrSuperEvil.
Is there a chance that you can provide a sample map, or know some kind of tutorial map / or abandon map as learning source?
Zerg Hunter RPG is probably your best source if you want an abandoned map.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg