Is it possible to have a Droppable object that you can link an Exit to?
I.e. If I use a certain Exit, it drops an object from my inventory in whichever room I'm in, then I use another exit that returns me to the Room in which the Object was dropped?
How would I do this?
Hello!
Name of object: Obj
The script you need is:
player.parent = Obj.parent
Or use game.pov instead of player; it's good practice:
game.pov.parent = Obj.parent
If you're using an exit, go to the script attribute of it and write:
If Exit name is ext:
ext.to = Obj.parent
Or
this.to = Obj.parent
this
is a shortcut which uses the name of exit or object you're currently editing.