Mob Programs and Passing Variables

Posted by Sangenfant on Fri 23 Aug 2002 05:18 AM — 3 posts, 17,174 views.

USA #0
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
United Kingdom #1
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
USA #2
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.