Scripting Solution

12/25/2008 05:36 mrsyok#1
Hello.

I need a lil bit help with scripting.

I experienced this problem when i'm running autobuff script at Town Of Shuttgart.

Everything work just fine. It just, i need a solution to Close the Dialog box

of Teleport.

[Only registered and activated users can see links. Click Here To Register...]

I tried to call the CloseDialog() command, but it doesnt work.

Maybe CloseDialog() didn't exist in L2Walker library?

LABEL(GKSHUTTGART)
{
NPCSEL(Adventurers' Guide[ID=32327])
NPCDLG(Adventurers' Guide[ID=32327])
DLGSEL(View available Support Magic.)
DLGSEL(Receive Support Magic.)
CloseDialog()
MOVETO(87252,-142303,-1366)
MOVETO(87217,-143203,-1319)
MOVETO(87056,-143442,-1319)
NPCSEL(Bilia[ID=31964])
NPCDLG(Bilia[ID=31964])
DLGSEL(Teleport.)
CloseDialog()
}

Hope someone can help me through this matter.

Thank you & merry christmas to all.

Have a nice day. :)
12/25/2008 13:57 emir0n#2
when im right there is no command to close a dialog window ... anyway - why do u want to close it ? if a script is running fine so u dont have to do anything,it shouldnt bother u or if it does,u can just close it manualy with no effect on the runing script

moved - u got alredy a warning,but nextime it will be another one