Several objects in a single command

thierry_st_malo
Hi, all!

Can I use several objects in a single command ?

For instance : fill #object1# with #object2#

Which leads me to another question: can I define a number of meaningless words that will just be ignored when the user's input will be parsed? For example, in the above command, the word "with" could be used or not. Of course, such a list would be at the game level.

Thanks in advance,

Thierry

Pertex
sure, you can. Just click "Filter" in the left bottom corner of the Quest offline editor and activate "Show Library Elements". Then you can check the build-in commands like put or removefrom and see how regular expressions can be used to create multi object pattern

^put (?<object1>.*) (on|in) (?<object2>.*)$

XanMag
I've found this discussion very helpful and have referred to it many times.

viewtopic.php?f=18&t=5862

thierry_st_malo
Many thanks :-)
Thierry

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums