command doesnt exist???

oblomov
hi folks.. i have a pretty hard problem: i set up the commands "schalt ein" and "schalt aus" (the game is in german) to use with an object called cafemaschine (to go there type: nimm handtasche - mach auf tür - south - west), but somehow quest seems not to accept it. it tells me, that it doesnt know the commands. i thought that the problem might be somehow related to the synonyms, perhaps there is something that excludes itself, but no, i cant see anything special.. please help!

Wonderjudge
I'm new to this kinda. But when you set the command up did you set it up with an an object variable. for example
I have commands in my game.
Dispel
( when you type in just dispel in the game it does soemthing) or
dispel #@command1#
(this is used for when the player types "dispel (object)" and put the name of the object in string variable "command1")
And you can have both forms available if you capitalize one and not the other.

I don't know if this helps.
Wonderjudge.

oblomov
i set it up directly with an object. and i never used capital letters in my commands. i just dont know what to do..

Alex
Can you attach the ASL version of your game? We can't read the CAS file as you can't load CAS files in QDK.

oblomov
here it is, i hope you can find something.. thanks a lot for helping!

Wonderjudge
I am no expert so you might want to wait for alex's response but I think it has to do with your synonyms.
I had the same problem with the verb "get in" because I had "get" as a synonym to take.
Wonderjudge.

Alex
Wonderjudge is correct - it's the synonyms.

You have the following synonym set up:

drehe auf; drehe an; schalte auf; schalt auf; schalt ein; schalte ein; mach ein; mache ein = dreh auf

This is converting "schalt ein" to "dreh auf", so your verb isn't running.

You can prove that this is happening by looking at the String Variables window (under the Debug menu). The value of "quest.originalcommand" is what the player typed in - in this case, "schalt ein". The value of "quest.command" shows what happened after the synonyms were processed - in this case the command has been converted to "dreh auf".

oblomov
of course! how stupid.. thanks a lot for your help!

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

Support

Forums