Dialog Requests

Started by NemesisRogue99, Wed 11/02/2004 21:58:37

Previous topic - Next topic

NemesisRogue99

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?

Kweepa

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);
}
}
Still waiting for Purity of the Surf II

strazer

#2
Look here

EDIT: Damn, too slow  :)

SMF spam blocked by CleanTalk