Creating a combine with verb

duggold
09 Jun 2012, 01:29
I have a bow object and a bow string object. I added the "combine with" verb to the bow and told it it needed the bow string object. I then have the code creating the finished bow, adding it to inventory, and deleting the bow and string. But, when I click the "combine with" verb from the inventory screen, I just get an error and the text comes out as "combine with bow string". I want it to come up with a list of inventory items and ask me which item I want to combine it with. And only do the combining if they have both objects. How do I do this?

sgreig
09 Jun 2012, 01:31
Hmm, I know how to do this just using the parser, but for using the popup menus and stuff I don't even know if it can be done. Pertex has more experience than I do in that area, so maybe he can be of more assistance? Or Alex, since he made Quest. :)

Pertex
09 Jun 2012, 17:09
I do not understand the problem exactly, but perhaps its a problem with the verb. The name of the verb shouldn't be "combine with", but only "combine". Here is a screeny how to do it:
bow.png

duggold
09 Jun 2012, 21:02
Thank you. The issue was the two word verb. If that's a limitation, how does "look at" work?