Dialog_request examples in manual

Started by Scorpiorus, Tue 30/01/2007 22:46:35

Previous topic - Next topic

Scorpiorus

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
function dialog_request (int parameter)  { 
    if (parameter == 1) {...}
    else if (parameter == 2) {...}
}


instead of just

Code: ags
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

strazer

I think this is a good idea, so I'm bumping this, in case CJ didn't read the original MOVED topic.

Pumaman

Sounds sensible, I'll look into it.

SMF spam blocked by CleanTalk