Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ Auto Open Door
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Whisperedecho
USA (51 posts) Bio
|
| Date
| Fri 09 May 2008 09:55 PM (UTC) Amended on Fri 09 May 2008 09:57 PM (UTC) by Whisperedecho
|
| Message
| I am using SmaugFUSS 1.9 on Windows.
I have been playing on some other MUD's and have noticed that some of them have an Auto Open feature.
The way it works is if you walk into a room and the east door is closed you can just walk east and the door will automatically be opened for you so you don't have to type in the "Open" command.
How would I go about adding this into the code for Smaug? Thanks. | | Top |
|
| Posted by
| David Haley
USA (3,881 posts) Bio
|
| Date
| Reply #1 on Fri 09 May 2008 10:21 PM (UTC) |
| Message
| | You would need to identify the point at which a character is blocked by a door when trying to move, and then insert a call to the door-open command -- if it succeeds, let the character's move continue, otherwise stop the move. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
10,822 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top