Making an enterable supporter/surface

duodave
In Quest 5 RC2, how do you make an object an enterable supporter, such as a chair or bed? I don't see that functionality. I can put things on a bed, but I cant sit on it or lie on it.

Also, I don't get how I can manipulate the room description to appear before the object description. It seems non-standard to have the visible objects appearing first.

Alex
This could be made easier in a future version, but for now:

- make the chair or bed a surface
- add verb "sit on", "lie" etc. to run a script. In the script, move the player to the chair or bed
- add verb "get up", add script to move player to the parent room

When the player's parent is a surface or transparent container, everything in the parent room is still visible, but not reachable.

ender
I wonder if this could be made easier by making 'sit on' or 'get up' commands ... i.e. sit on checks to see if the item is enterable, and if it is ... then the player can sit on it ...

of course, I can see problems with that ... a wardrobe may be enterable but not something you can sit on ... so maybe a 'PlayerCanSit' boolean attribute on the object ... if true ... then you can sit on it ...

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums