Help with compound verbs please...
Anonymous
18 Mar 2004, 03:51I'm trying to set up a compound verb to "ask <someone> to <do something>"
I really want to be able to ask different people to dance, so this is what I do...
command <Ask #@AskTarget# to #@AskRequest#;Ask #@AskTarget#> msg <Asking #@AskTarget# to #@AskRequest#>
I added the Ask #@AskTarget# command to the end there to see if I could get into this command at all.
Whenever I type ask Mary to dance I get "I can't see that anywhere"
When I type ask mary
I at least get "Asking Mary to "
I'm just trying to get these basics down so I can really get cooking with game development. Thanks for the help everyone!
-radar
I really want to be able to ask different people to dance, so this is what I do...
command <Ask #@AskTarget# to #@AskRequest#;Ask #@AskTarget#> msg <Asking #@AskTarget# to #@AskRequest#>
I added the Ask #@AskTarget# command to the end there to see if I could get into this command at all.
Whenever I type ask Mary to dance I get "I can't see that anywhere"
When I type ask mary
I at least get "Asking Mary to "
I'm just trying to get these basics down so I can really get cooking with game development. Thanks for the help everyone!
-radar
Anonymous
18 Mar 2004, 05:59In your code you have #@AskRequest# as an object variable, but “dance†is not an object. So when you type “Ask Mary to danceâ€, Quest finds the object “Mary†and then looks for the object “dance†and doesn’t find it and you get the message “I can't see that anywhereâ€. It would work if you use a text variable instead, like this:
command <Ask #@AskTarget# to #AskRequest#> msg <Asking #@AskTarget# to #AskRequest#>
Anonymous
19 Mar 2004, 01:53Mman wrote:In your code you have #@AskRequest# as an object variable, but “dance†is not an object. So when you type “Ask Mary to danceâ€, Quest finds the object “Mary†and then looks for the object “dance†and doesn’t find it and you get the message “I can't see that anywhereâ€. It would work if you use a text variable instead, like this:
command <Ask #@AskTarget# to #AskRequest#> msg <Asking #@AskTarget# to #AskRequest#>
At last the subtlety between #@# and ## is realised!
Thanks for the help!
-Radar