* This is from the manual of AGDS (Adventure Game Development Toolkit) which contains a good deal of information about the AGI interpreter and its data formats. Translated from Russian by Vassili Bykov, vbykov@cam.org
NOTE: This is taken from the description of the said command from section 4.3
Here is how the input is matched. After the player types a message and presses Enter, the input line is processed by the interpreter.
If the search is unsuccessful, Var(9) is assigned the number of
the word in the message that failed to match and the processing
ends. If all the words have been assigned some codes:
If the sequence of code produced by the interpreter is
V(1), V(2),...V(m).
The test is performed as follows:
If Flag(2) = 0 or Flag(4) = 1, return FALSE.
Compare parameters W(i) and codes V(i) as follows:
Otherwise W(i) should be equal to V(i).
If all elements match, Flag(4) (`said' accepted the user input) is set to
1 and the command returns TRUE. Otherwise, FALSE is returned.
Top
You can help keep The Sierra Help Pages and its affiliates alive by helping to defray some of the costs of hosting this site. If it has been of help to you, please consider contributing to help keep it online.Thank you.
The Sierra Help Pages | Sierra Game Help | Walkthroughs | Hints, Tips & Spoilers | Utilities | Links | SHP Forums | Search
© 2013 to present The Sierra Help Pages. All rights reserved. All Sierra games, artwork and music © Sierra.