Need help moving char while in dialog!

Started by ManicMatt, Sun 30/10/2005 18:25:35

Previous topic - Next topic

ManicMatt

Yes this has been covered many times, I've been searching for answers for hours now! But alas they have not helped.

I've basically got a certain sentence said in a dialog, and from there I want the dialog to end and the NPC to move somewhere else on the screen.

I'm not a scripter, except when there's no other way of doing something!

I've got "run script 1" in my dialog script.

So is there something wrong with the script in global?

#sectionstart dialog_request  // DO NOT EDIT OR REMOVE THIS LINE
function dialog_request(int value) {
if (value==1){   
//character[BAD].Walk(242, 111);
} else if (value==2){   
// 
}
}


I tried putting some music on below the character command and that worked perfectly. So why won't he move?

Please help!

I'm not usually one to cave in...

Gilbert

Because you commented that line out with // ...

ManicMatt

Oh thankyou thankyou!

I was ripping my hair out over that one!

As I said, I'm no scripter.. real amateur.. but some things NEED scripting!

I copied and pasted most of that script you see..

THANK YOU A BILLION IT'S WORKS NOW!

SMF spam blocked by CleanTalk