嵐╭★ 發表於 2009-7-30 20:51:15

按了物品有跑出NPC對話視窗後沒有下一頁

本帖最後由 嵐╭★ 於 2009-7-30 11:31 PM 編輯

function    script    testinput    {
    mes "^4169e1< "+strcharinfo(0)+" >^ff1493要我提供什麼幫助嗎^000000?";
    next;
}
    switch(select("服務系統:輔助系統:傳送系統")){

case 1:
腳本內容
case 2:
腳本內容
case 3:
腳本內容

}http://img269.imageshack.us/img269/5108/screenathena020.jpg


http://img269.imageshack.us/img269/2654/screenathena021.jpg


為什麼按了物品後有跑出NPC對話視窗 之後 再按 再來 後 就沒跑出下一頁的動作呢??

哆啦ˇ 發表於 2009-7-30 20:54:13

錯的很離譜..不知道怎麼說

pan00017 發表於 2009-7-30 20:55:16

請看MAP錯誤

x0823x 發表於 2009-7-30 20:57:52

而且JA物品不支援直接這樣

另有寫法

夢醒 發表於 2009-7-30 20:58:00

WHERE
NEXT?
像#3說的
看MAP的錯誤最快

哆啦ˇ 發表於 2009-7-30 20:59:03

function    script    testinput    {

    mes "^4169e1< "+strcharinfo(0)+" >^ff1493要我提供什麼幫助嗎^000000?";

    next;

}

    switch(select("服務系統:輔助系統:傳送系統")){
看就知道哪裡錯了..

嵐╭★ 發表於 2009-7-30 20:59:12

mes "^4169e1< "+strcharinfo(0)+" >^ff1493要我提供什麼幫助嗎^000000?";
        next;
       switch(select("服務系統:輔助系統:傳送系統")){         如果這句 跑到這邊來 他就完全不能按了= =

goddameit 發表於 2009-7-30 21:01:12



next; 下 面 加 } 幹 啥 ?

你 腳 本 是 執 行 到 那 邊 啊 ?

哆啦ˇ 發表於 2009-7-30 21:03:34

#7
function    script    testinput    {

    mes "^4169e1< "+strcharinfo(0)+" >^ff1493要我提供什麼幫助嗎^000000?";

    next;

}

    switch(select("服務系統:輔助系統:傳送系統")){



腳本只會運行到..兩個紅色{}之間

嵐╭★ 發表於 2009-7-30 21:11:47

function    script    testinput    {
    mes "^4169e1< "+strcharinfo(0)+" >^ff1493要我提供什麼幫助嗎^000000?";
    next;
    switch(select("服務系統:輔助系統:傳送系統")){


case 1:
    sc_start4    SC_INCREASEAGI,3600000,10,0,0,0;
    sc_start4    SC_BLESSING,3600000,10,0,0,0;
    specialeffect2 248;
    specialeffect2 261;
    close;   
case 2:
    sc_start4    SC_INCREASEAGI,3600000,10,0,0,0;
    sc_start4    SC_BLESSING,3600000,10,0,0,0;
    specialeffect2 248;
    specialeffect2 261;
    close;   
case 3:
    sc_start4    SC_INCREASEAGI,3600000,10,0,0,0;
    sc_start4    SC_BLESSING,3600000,10,0,0,0;
    specialeffect2 248;
    specialeffect2 261;
    close;   

}


}


}




那 這樣 為什麼會跑不出來...

goddameit 發表於 2009-7-30 21:16:32

幹 麻 堅 持 要 有 next;

pan00017 發表於 2009-7-30 21:16:34

物品一定會卡住

嵐╭★ 發表於 2009-7-30 21:24:12

function    script    testinput    {
    mes "^4169e1< "+strcharinfo(0)+" >^ff1493要我提供什麼幫助嗎^000000?";
    switch(select("服務系統:輔助系統:傳送系統")){



//========== 輔助系統 ==========


case 1:


      mes "腳本內容";
      next;
      mes "腳本內容;
      close;


case 2:

warp "geffen",119,99;

case 3:

warp "geffen",119,99;


}


}


}



摁我改成這樣 有了選項 但是 按了選項後 一樣 卡 ..

x0823x 發表於 2009-7-30 21:25:47

看4樓說的

pan00017 發表於 2009-7-30 21:35:26

http://www.okayro.com/thread-102302-1-3.html
頁: [1] 2 3
查看完整版本: 按了物品有跑出NPC對話視窗後沒有下一頁