Register forum user name Search FAQ

Gammon Forum

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 ➜ Dawn of Time ➜ Administration ➜ Mob Programs and Passing Variables

Mob Programs and Passing Variables

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Sangenfant   USA  (2 posts)  Bio
Date Fri 23 Aug 2002 05:18 AM (UTC)
Message
I'm not sure if this has been asked, but I didn't find it when I did a search...
When making a mob program, is there a way to pass a variable from the speech trigger? And if this _is_ possible, is there a way for this variable to be used to set a value on an object, say the liquid type of a fountain?

Sangey
Top

Posted by Kalahn   United Kingdom  (138 posts)  Bio
Date Reply #1 on Sat 24 Aug 2002 03:54 PM (UTC)
Message
Currently mobprogs don't have the functionality to access what was spoken to trigger a particular mprog, so without extending the functionality you are out of luck.

- Kal

Kalahn
Developer of the Dawn of Time codebase
http://www.dawnoftime.org/
Top

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #2 on Thu 05 Sep 2002 10:26 AM (UTC)
Message
What you're asking about isn't quite possible the way you've described it but if you dont mind a little mind numbing repetativeness it is possible to mimic the results with a speech prog triggered on a keyword for each liquid type available for the fountain in your example. Amittedly, this isnt a very elegant solution but it would do the job.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.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.


15,719 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.