Objects appearing in more than one room
Mewizkuit
02 Feb 2012, 07:23Sorry if this is a stupid question, but I was wondering: is it possible to make an object appear in more than one room, or do I need to create separate objects for each room? I'm planning on using this mainly for scenery-type objects, so there wouldn't really be a bunch of them, just they would show up in many different rooms when you attempted to interact with them (such as looking at them). For example, say there are vines growing along the walls of many rooms. I want to make it so that using "look at vines" or "take vines" ect would give the same response in more than one room (but not every room) without creating multiple copies of the vines object.

Pertex
02 Feb 2012, 07:54No, that is not a stupid question!
And no, this is not possible at the moment. But its on the list

Mewizkuit
02 Feb 2012, 08:20ah, darn.
guess I'll just make multiple copies then.
guess I'll just make multiple copies then.
greenelvish
02 Feb 2012, 10:24I'm not sure if it is a good solution, but it works for me: you can set a function with some scripts that move walls and other recurring scenery to player.parent.
(I'm working with my italian traslation, so "muro" is wall and "soffitto", "pareti", "pavimento" are other recurring stuff)
Then you can call this function in "after entering the room for the first time" script, for every room you need. In the same function, or may be is better in the object description, you can also set some "if"scripts to check for particular roooms, and print specific descriptions (or run specific scripts) where you need it.
<enter type="script">
MoveObject (muro, player.parent)
MoveObject (soffitto, player.parent)
MoveObject (pareti, player.parent)
MoveObject (pavimento, player.parent)
</enter>
(I'm working with my italian traslation, so "muro" is wall and "soffitto", "pareti", "pavimento" are other recurring stuff)
Then you can call this function in "after entering the room for the first time" script, for every room you need. In the same function, or may be is better in the object description, you can also set some "if"scripts to check for particular roooms, and print specific descriptions (or run specific scripts) where you need it.