In 2.71, they change some of the script commands, so I try to write Display("anything"), but when I try to save, it says that Display is an unknown command. Does anyone know the new command, or if there is a list or something with all the commands and explanations?
The manual (either the one that came with the download, or the online version (http://www.adventuregamestudio.co.uk/manual/)) contains a list of all the commands, and searching the offline version for the old command name should direct you to the new version. (E.g. look up SetCharacterIdle and it directs you to Character.SetIdleView.)
However, Display() is still valid. Is it possible you're mis-spelling it somehow (transposing letters - Dispaly("anything") - or missing the capital D)? Can you post the exact error message you get? (An example of code that generates it might be useful too.)
I dont wanna tell you what they talk about, beacuse it involves in the making of my game, so I'll just "censor" it with other stuff =P
// dialog script file
@SÃ, // dialog startup entry point
GUY1: SECRET MESSAGE
GUY2: SECRET MESSAGE
return
@1Ã, // option 1
GUY2: SECRET MESSAGE
GUY1: SECRET MESSAGE
GUY2: SECRET MESSAGE
return
@2Ã, // option 2 (I added this one but changed plans later =P)
@3Ã, // option 3
GUY2: SECRET MESSAGE
GUY1: SECRET MESSAGE
Display("SECRET MESSAGE")
stop
There was an error compiling the script for dialog topic 0.
The error was:
Dialog (line 15): Unknown Command: 'display'
Do you want to edit your script to correct the error?
The problem is that you're in the dialog script. The dialog script doesn't contain the normal commands. Search your manual for "dialogs", and you'll find a list of all valid commands. In your case, I think, this could give the result you want:
GUY1: BLABLA
GUY2: BLABLA
narrator: The look at each other and begin a fight ...
The narrator character displays messages, for example if you want to describe the reaction of one of the dialog partners.
cheers
nihilyst
Works now. Thanks :)