Conflicting Keys in Ask command

gideonwilliams
I am using an Ask command which has 5 different messages triggered by different keys.

The player needs to ask the technician about the password on the ipad to be told what the code is.

If they type "Ask technician about password" they get the password (password is a key)

If they type "Ask technician about ipad" they get a message about the ipad (ipad is a key)

If they type "Ask technician about the ipads password" I really want them to be told the password but instead they get the response for ipad.

Is there any way of getting around this?

Thanks

Alex
You could make your own "ask" command I suppose, but that would bypass the built-in functionality for this. It may be more practical just to combine the two under one key "ipad password", then the player can ask about "ipad", or "password", or "ipad password" and get the same response.

Sharpturn
In a somewhat related question, How do you say multiple-word commands with ask? Ex. "ask person about cardiac arrest" works, but neither "ask person about cardiac" nor "ask person about arrest" works. Is there a way to do this?

Alex
Should work if one of your topics is "cardiac arrest"? That should handle "cardiac", "arrest" and "cardiac arrest" automatically.

Sharpturn
I know! I want it to go

>ask person about cardiac
I don't know what you mean.

>ask person about arrest
I don't know what you mean.

>ask person about cardiac arrest
(different text)

gideonwilliams
Thanks Alex. I guess I was trying to think of all the possible eventualities in terms of what people might ask. May need to make it more straightforward.

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

Support

Forums