How do I add this command "throw stone at camera"?
Krammy
09 Aug 2013, 12:14I know I can use verbs in order to make commands before the object, but how can I make it necessary to specify what to throw it at?
Any help would be appreciated!
Any help would be appreciated!


jaynabonne
09 Aug 2013, 13:34If it's just a one-shot thing, meaning it will always be the stone and always at the camera, with no variations, then I'd just create a command with those exact words rather than trying to finagle verbs.
Krammy
09 Aug 2013, 13:57I'd like to be able to throw the stone at other things too but have it say different things. Would I need some attribute and some complicated command thingy to make it work?

jaynabonne
09 Aug 2013, 15:02Actually, my advice was really lousy. Please ignore it. I'll take a look... (or someone else can jump in)
Alex
09 Aug 2013, 15:32You can do this with a two-object verb.
Add the verb "throw" to your "stone" object. From the drop-down, select "Require another object". Then you can add "camera" and set the script you want.
You'll need to edit the verb to allow "throw X at Y" though - by default only "with" or "using" will work, which doesn't make sense here. Go to Filter, Show Library Elements, then find the "throw" verb and copy it into your game. You can then change the object separator to "at" (or add it to the end e.g. "with; using; at").
Add the verb "throw" to your "stone" object. From the drop-down, select "Require another object". Then you can add "camera" and set the script you want.
You'll need to edit the verb to allow "throw X at Y" though - by default only "with" or "using" will work, which doesn't make sense here. Go to Filter, Show Library Elements, then find the "throw" verb and copy it into your game. You can then change the object separator to "at" (or add it to the end e.g. "with; using; at").
Krammy
09 Aug 2013, 17:52Thank you! I'm using the web version of Quest, and I can't find the "Filter" thing you mentioned.