Adpist wrote:Hi there !
First of all, thanks for this thread =)
I manage to create custom save and load functions using parts of your scripts, And i have found an issue, and i really don't know how to fix it.
I save all items in inventory when user click save button.
When i load them, i can add items to player's inventory, everything is fine with this part. The problem is that if i save the game, take a new item in inventory, and load previous save ( before taking item ), I can't take the item anymore ( which is somekind of normal, i guess ).
So there is my question : Is it possible to have acces to the list of items present not only in inventory, but in all the differents frames ( or their hotspots ) to enable / disable item picking according to the saved game state
i see a way to do it but i need access to all game's items, or to be able to check if hotspot gives an item and disable it if item is in inventory.
I want to add that as if you have a welcome documentation, there are some parts missing in the AM's doc ( like how to access to hotspot position ? hide TextBoxObject borders ? etc... )
I post this here because my save/load functions are really similar to the ones mentionned in this thread.
Thans for your answers.
Colin
Hi!
I don't think that you can get a list of all items in the game.
AM doesn't make a different between hotspots with an item you can pick up or other hotspots like navigation hotspots.
I think you are using the "hide and disable the hotspot permanently" function of AM when you pick up an item.
If you change this with a solution with variables, and if you are saving all the vars with your custom save/load system, your problem with loading an older game should be solved because the old vars are loaded.
Hope this helps and perhaps someone has another solution.
Greetings Juhu