THIS IS NOT A TUTORIAL BUT AN EXPLAINING SAMPLE ONLY
I offer this Sample about how to create a gold storage
Everything is clear in sample project ,and I'm ready to any question here.
-If you don't want to download sample ,then follow this steps:
1- Create a new map event
2- set trigger action to 'Action Button"
3- apply event commands in this image.
The Project Sample:Storage.rar