[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  Area Editor
. -> [Folder]  General
. . -> [Subject]  Making MOB's talk...
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Making MOB's talk...

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Hawkins   (17 posts)  [Biography] bio
Date Fri 12 Dec 2003 03:14 AM (UTC)  quote  ]
Message
Okay, maybe it's just because I'm a newbie to building but I have a question....two actually. The first, and most important to me is...

I have a MOB that I have set up to sit by a fountain in an area I'm designing for Smaug 1.4 I want players to be able to ask or talk to this MOB and have the MOB respond with a predefined scripted response (this is to further the storyline of the area). Any ideas on how to do this? Can it be done with Area Editor?

Secondly...I made a "shop" but the MOB that I attached as the shopkeeper keeps moving. I'd like her to stay in one place...but she moves, any ideas? I have the nomobile flag set, but it doesn't seem to make a difference.

Thanks very much for your help, in advance.
[Go to top] top

Posted by Meerclar   USA  (590 posts)  [Biography] bio
Date Reply #1 on Fri 12 Dec 2003 04:09 AM (UTC)  quote  ]
Message
Your first idea is easy enough with a speech_prog and should be doable via the area editor from what little I remember of it. As for your shopkeeper, look for a sentinel mflag, should fix the wandering problem right up.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by Hawkins   (17 posts)  [Biography] bio
Date Reply #2 on Fri 12 Dec 2003 11:22 PM (UTC)  quote  ]
Message
Right...but how do I set a speech_prog or act_prog up in Area Editor? That I don't know how to do either. Any links to a good speech_prog FAQ would be helpful too.

Thanks for the info on the shopkeeper now she stands there nicely. :)
[Go to top] top

Posted by Nick Gammon   Australia  (19,500 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Sat 13 Dec 2003 05:35 AM (UTC)  quote  ]
Message
There are example speech programs in newacad.are.

To add a program to a mob, click on the relevant mob, and then go to the Area menu -> Add mob program (Ctrl+A).

This will add a new program. Then adjust the program type in the section on the right, and type the program into the big box.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] 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.


2,035 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Web site powered by FutureQuest.Net]