UID4022
帖子
精華
主題
積分645
現金
積極性
威望
違規
熱心
推廣次數
閱讀權限10
註冊時間2007-8-21
在線時間 小時
最後登錄1970-1-1
該用戶從未簽到
|
這是EA版的優配任務
二樓的莫內 打死後會出現廣播 然後 三分鐘後 又會隨著傳送點消失而重生
但是 我仿造這個寫了另一個腳本 怪有出現 打死後也會出現傳點 但是怪不會重生 ..
我想問看看 大概要怎麼寫怪才會重生 ?
juperos_02.gat,1,1,1 script JuperosLvl2QuestInit -1,{
OnInit:
while(1)
{
monster "juperos_02.gat",24,276,"1st Gate Switch",1674,1,"JuperosLvl2QuestInit::OnGate1Dead";
monster "juperos_02.gat",240,29,"2nd Gate Switch",1674,1,"JuperosLvl2QuestInit::OnGate2Dead";
monster "juperos_02.gat",282,183,"3rd Gate Switch",1674,1,"JuperosLvl2QuestInit::OnGate3Dead";
end;
OnGate1Dead:
mapannounce "juperos_02.gat","你想要探索優配擂斯嗎? 這底下已經沒有生物生存了",1,0xFF0000;
set $JupeGate1,1;
if($JupeGate1 && $JupeGate2 && $JupeGate3)goto s_WarpOpen;
end;
OnGate2Dead:
mapannounce "juperos_02.gat","你為了什麼而來 ? 寶物嗎 ? 還是說 要來找我",1,0xFF0000;
set $JupeGate2,1;
if($JupeGate1 && $JupeGate2 && $JupeGate3)goto s_WarpOpen;
end;
OnGate3Dead:
mapannounce "juperos_02.gat"," 你如果想要找我 我就在最底下等著 ",1,0xFF0000;
set $JupeGate3,1;
if($JupeGate1 && $JupeGate2 && $JupeGate3)goto s_WarpOpen;
end;
s_WarpOpen:
attachnpctimer;
initnpctimer;
end;
OnTimer3000:
mapannounce "juperos_02.gat","Vroom! Vroom!",1,0xBA55D3;
end;
OnTimer6000:
mapannounce "juperos_02.gat","Attention, visitors.",1,0xBA55D3;
end;
OnTimer9000:
mapannounce "juperos_02.gat","You are allowed to enter the next zone for a short period of time. Please use the portal in the center of the map.",1,0xBA55D3;
enablenpc "JupeWarp2";
end;
OnTimer189000:
mapannounce "juperos_02.gat","The portal has now closed.",1,0xBA55D3;
disablenpc "JupeWarp2";
set $JupeGate1,0;
set $JupeGate2,0;
set $JupeGate3,0;
stopnpctimer;
}
} |
|