Conflicts
Jack_Cade
13 Jun 2011, 00:07Hi - very much getting to grips with this now, I think, but I have a question about conflicts.
Suppose I wanted a specific response to "Kiss wife" but a different response to "Kiss#text#" for when the player tries to kiss anything else. That creates a conflict when you type 'Kiss wife' because 'wife' is also contained withing the #text# wildcard. Testing this out, it seems to ignore the "Kiss wife" command script entirely, but that might be because I have that lower down the list of commands. I can't seem to change the order in the list of commands, so is there any other way of creating a priority where there is a conflict?
Again, apologies if the tutorial covers this and I've missed it!
Suppose I wanted a specific response to "Kiss wife" but a different response to "Kiss#text#" for when the player tries to kiss anything else. That creates a conflict when you type 'Kiss wife' because 'wife' is also contained withing the #text# wildcard. Testing this out, it seems to ignore the "Kiss wife" command script entirely, but that might be because I have that lower down the list of commands. I can't seem to change the order in the list of commands, so is there any other way of creating a priority where there is a conflict?
Again, apologies if the tutorial covers this and I've missed it!
Alex
13 Jun 2011, 08:57The best thing to do would be to create "kiss" as a verb, not a command.
Then you can give the wife a "kiss" script, and kissing anything else will give a default response.
Then you can give the wife a "kiss" script, and kissing anything else will give a default response.