Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Scorpiorus on Tue 30/01/2007 22:46:35

Title: Dialog_request examples in manual
Post by: Scorpiorus on Tue 30/01/2007 22:46:35
This topic has been moved to Beginners Technical Questions (http://www.adventuregamestudio.co.uk/yabb/index.php?board=6).

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
Title: Re: Dialog_request examples in manual
Post by: strazer on Sat 17/02/2007 14:49:08
I think this is a good idea, so I'm bumping this, in case CJ didn't read the original MOVED topic.
Title: Re: Dialog_request examples in manual
Post by: Pumaman on Sat 17/02/2007 19:29:32
Sounds sensible, I'll look into it.