I tried to do a second dialog request...but it didn't work out too well, it said it was already defined...
function dialog_request (int parameter) {
if (parameter==1) { // run-script 1
//Dealer winks
AnimateCharacter(JOSH, 4, 0, 0);
}
}
function dialog_request (int parameter) {
if (parameter==2) { // run-script 2
//Dealer moves
MoveCharacterBlocking(JOSH, 77, 189);
}
}
What should I do?
Put it all together into a single function:
function dialog_request (int parameter) {
if (parameter==1) { // run-script 1
//Dealer winks
AnimateCharacter(JOSH, 4, 0, 0);
}
else
if (parameter==2) { // run-script 2
//Dealer moves
MoveCharacterBlocking(JOSH, 77, 189);
}
}
Look here (http://www.agsforums.com/yabb/index.php?board=6;action=display;threadid=11584;start=msg138934#msg138934)
EDIT: Damn, too slow :)