Hi Guys
Just put in some doors in to a game and a thought occured (as it does)
1.Where exactly is the best place to place the code in the response table so that its caught be the parser more effectively. i.e. a section is allocated for user commands but is that the best place or before some of the default movement commands?
2. should the direction allowed also be placed in the location table ?
3. once in a room having opened the door and used the connect command this allows traffic one way but what about return through the open door - should the code have a second connect?
example:
[start]open door#room=22#flag30=0[acts]cmessYou open the door#flag30=1#connect22=eastto28#connect28=westto22#cmessThe door is open.#else#room=22#flag30=1[acts]cmessThe door is already open![end]
4. Is it best to programme the opening of each door in each location then all the closing of all door in each location OR should the doors be programmed open and closed by each location sequentially
Just interested to see what others are doing here as well...............
G