- Joined
- Aug 5, 2012
- Messages
- 105
- Reaction score
- 6
- First Language
- English
- Primarily Uses
hey all, i have another question for the more experienced. in my game i have an item named shovel, now how could i make it to where if im outside(obviously) and there's grass in front of my character, i can use the shovel and kind of break away the map, sort of like the game minecraft in a way, to where the map can be dynamically changed based on where i dig, like i could dig a trench around my house to keep the black knight at bay or something.
i have heard of people using regions for similar things i guess, and i also had an idea to activate a common event whenever you use the shovel item to set 2 variables, x and y of the space the player is facing, and checking that tile's region, but then if i dig a hole, wont the region still be the same, allowing me to dig the same hole again? and also, if could do the same thing but check that locations x,y terrain, but im not sure how that works really, can you use it to check if something is dirt or grass or am i mistaken in thinking that?
i have heard of people using regions for similar things i guess, and i also had an idea to activate a common event whenever you use the shovel item to set 2 variables, x and y of the space the player is facing, and checking that tile's region, but then if i dig a hole, wont the region still be the same, allowing me to dig the same hole again? and also, if could do the same thing but check that locations x,y terrain, but im not sure how that works really, can you use it to check if something is dirt or grass or am i mistaken in thinking that?
