Hey everyone,
I'm putting together a game in which you can pick up objects on the ground with the action button, carry them around, and then put them down wherever you want... I've got that part figured out, but the issue I'm running into is that you can indeed put the objects down WHEREVER you want (in the water, on top of buildings, etc.)
Is there any way (presumably with scripting) to create a check to see if the tile directly in front of the hero is passable?
And then, from there, is there a way to disallow the un-equippiing of shields (which is currently the slot I'm using for carried items) IF that check says that the terrain is not passable?
Any help would be greatly appreciated!
~ Nicholai
I'm putting together a game in which you can pick up objects on the ground with the action button, carry them around, and then put them down wherever you want... I've got that part figured out, but the issue I'm running into is that you can indeed put the objects down WHEREVER you want (in the water, on top of buildings, etc.)
Is there any way (presumably with scripting) to create a check to see if the tile directly in front of the hero is passable?
And then, from there, is there a way to disallow the un-equippiing of shields (which is currently the slot I'm using for carried items) IF that check says that the terrain is not passable?
Any help would be greatly appreciated!
~ Nicholai