Magistross im trying to destroy a tile and spawn an item in its place. Think of it as loot.
Once its destoyed i am trying to make the destryed tile drop an item in its place.
Thank you for the example,you didnt have to go through all of this.Im new but i have learned enough that seeing you write code in a post is something i can understand now.
i will check this out right now.