This topic has been moved to Beginners Technical Questions.
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=29975.0
By the way, I think it could be a good idea to extend the example(s) of the dialog_request usage in the AGS manual, where it could be:
Code: ags
instead of just
Code: ags
as people seem to make a common mistake of putting parameter value into the function header.
An older topic discussing the issue: http://www.adventuregamestudio.co.uk/yabb/index.php?topic=13915
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=29975.0
By the way, I think it could be a good idea to extend the example(s) of the dialog_request usage in the AGS manual, where it could be:
function dialog_request (int parameter) {
if (parameter == 1) {...}
else if (parameter == 2) {...}
}
instead of just
function dialog_request (int xvalue) {
// your code here
}
as people seem to make a common mistake of putting parameter value into the function header.
An older topic discussing the issue: http://www.adventuregamestudio.co.uk/yabb/index.php?topic=13915