UID97652
帖子
精華
主題
積分1333
現金
積極性
威望
違規
熱心
推廣次數
閱讀權限10
註冊時間2008-7-22
在線時間 小時
最後登錄1970-1-1
TA的每日心情 | 開心 2012-8-8 05:00 AM |
---|
簽到天數: 70 天 連續簽到: 1 天 [LV.6]常住居民II
|

樓主 |
發表於 2010-5-15 01:31:39
|
顯示全部樓層
另外....
剛剛又繼續去研究這個腳本...
稍微改了一下大括號的位置
即 原本的
- if (QQAA == 50){
- if(killedrid == 1271){ set kill2,kill2+1;
- if(killedrid == 1613){ set kill3,kill3+1;
- dispbottom "===============================================";
- dispbottom "任務進度 :";
- if(kill2 < 50){ dispbottom " 目前殺死[鱷魚人]數量 : ["+kill2+"/50]";}
- if(kill2 >= 50){ announce " (完成) 目前殺死[鱷魚人]數量 : ["+kill2+"/50]",bc_self;}
- if(kill3 < 50){ dispbottom " 目前殺死[金屬波利]數量 : ["+kill3+"/50]";}
- if(kill3 >= 50){ announce " (完成) 目前殺死[金屬波利]數量 : ["+kill3+"/50]",bc_self;}
- if(countitem(7003) < 50){ dispbottom " 目前[虎蜥皮]數量 : ["+countitem(7003)+"/50]";}
- if(countitem(7003) >= 50){ announce " (完成) 目前[虎蜥皮]數量 : ["+countitem(7003)+"/50]",bc_self;}
- if(countitem(7126) < 50){ dispbottom " 目前[巨大傑勒比結晶]數量 : ["+countitem(7126)+"/50]";}
- if(countitem(7126) >= 50){ announce " (完成) 目前[巨大傑勒比結晶]數量 : ["+countitem(7126)+"/50]",bc_self;}
- if(kill2 >= 50 && kill3 >= 50 && countitem(7003) >= 50 && countitem(7126) >= 50){ set QANO,1; announce " ★任務完成,快回去領獎勵吧!!★",bc_self;}
- end;}}}
複製代碼
改成
- if (QQAA == 50){
- if(killedrid == 1271){ set kill2,kill2+1;}
- if(killedrid == 1613){ set kill3,kill3+1;}
- dispbottom "===============================================";
- dispbottom "任務進度 :";
- if(kill2 < 50){ dispbottom " 目前殺死[鱷魚人]數量 : ["+kill2+"/50]";}
- if(kill2 >= 50){ announce " (完成) 目前殺死[鱷魚人]數量 : ["+kill2+"/50]",bc_self;}
- if(kill3 < 50){ dispbottom " 目前殺死[金屬波利]數量 : ["+kill3+"/50]";}
- if(kill3 >= 50){ announce " (完成) 目前殺死[金屬波利]數量 : ["+kill3+"/50]",bc_self;}
- if(countitem(7003) < 50){ dispbottom " 目前[虎蜥皮]數量 : ["+countitem(7003)+"/50]";}
- if(countitem(7003) >= 50){ announce " (完成) 目前[虎蜥皮]數量 : ["+countitem(7003)+"/50]",bc_self;}
- if(countitem(7126) < 50){ dispbottom " 目前[巨大傑勒比結晶]數量 : ["+countitem(7126)+"/50]";}
- if(countitem(7126) >= 50){ announce " (完成) 目前[巨大傑勒比結晶]數量 : ["+countitem(7126)+"/50]",bc_self;}
- if(kill2 >= 50 && kill3 >= 50 && countitem(7003) >= 50 && countitem(7126) >= 50){ set QANO,1; announce " ★任務完成,快回去領獎勵吧!!★",bc_self;}
- end;}
複製代碼
腳本能順利運行
也能順利顯示我想要的
雖然我不知道為什麼....
總之...是可以寫出我想要顯示的了
現在就只差是否能讓 撿起物品時也會顯示任務進度 的問題而已了
謝謝幾位大大的幫助、指導。 |
|