Too far to reach

RedTulip
01 Apr 2011, 14:21
Erm, I'm trying to make an action that when the player lies/sits on the bed, he/she would not be able to do anything other then look.

Alex
01 Apr 2011, 16:34
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.

RedTulip
02 Apr 2011, 02:17
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 :D