Alex wrote:There are a few ways you could do this. Here are a couple that I can think of:
1. Have being "on the bed" as actually a separate room to "standing in the bedroom". Then you need to have two of each object - a window for example, having one in each "room". Then you can set up each room differently, with some of the objects being takeable or whatever.
2. If you only want one room, use a script for "take" for each object. If a flag called "on bed" is set, don't allow the player to take the object. Unset the flag when the player gets up.
Hope this makes sense - let me know if you need more details.
Makes sense, thanks for the answer