Jump to content
  • 0

Doppelganger mobcount


Question

Posted

invek,150,164,3    script    MvP    527,{
	mes "1. Doppelganger (gef_dun02) = "+( ( mobcount( "aev_fild01","MvP::OnKilledsilver") == 0) ? "^ff0000DEAD^000000" : "^008000ALIVE^000000" ) +"";
close;
	oninit:
monster "aev_fild01",0,0,"Doppelganger",1046,1,"MvP::OnKilledsilver";
end;

OnKilledsilver:
OnTimer1800000:
announce "Doppel is now alive",0;
monster "aev_fild01",0,0,"Doppelganger",1046,1,"MvP::OnKilledsilver";
end;
}



hi can i ask how do i make the next monster spawn is 60 mins from the time the main oninit monster is killed? 

i tried the script above but its not working.. it automatically spawn the next doppel...

3 answers to this question

Recommended Posts

  • 0
Posted (edited)
invek,150,164,3    script    MvP    527,{
	mes "1. Doppelganger (gef_dun02) = "+( ( mobcount( "aev_fild01","MvP::OnKilledsilver") == 0) ? "^ff0000DEAD^000000" : "^008000ALIVE^000000" ) +"";
close;

OnInit:
	initnpctimer;
	stopnpctimer;
	monster "aev_fild01",0,0,"Doppelganger",1046,1,"MvP::OnKilledsilver";
end;

OnKilledsilver:
	setnpctimer 0;
	startnpctimer;
end;

OnTimer1800000:
	announce "Doppel is now alive",0;
	monster "aev_fild01",0,0,"Doppelganger",1046,1,"MvP::OnKilledsilver";
	stopnpctimer;
end;
}

 

Edited by sader1992
  • 0
Posted
18 hours ago, sader1992 said:

invek,150,164,3    script    MvP    527,{
	mes "1. Doppelganger (gef_dun02) = "+( ( mobcount( "aev_fild01","MvP::OnKilledsilver") == 0) ? "^ff0000DEAD^000000" : "^008000ALIVE^000000" ) +"";
close;

OnInit:
	initnpctimer;
	stopnpctimer;
	monster "aev_fild01",0,0,"Doppelganger",1046,1,"MvP::OnKilledsilver";
end;

OnKilledsilver:
	setnpctimer 0;
	startnpctimer;
end;

OnTimer1800000:
	announce "Doppel is now alive",0;
	monster "aev_fild01",0,0,"Doppelganger",1046,1,"MvP::OnKilledsilver";
	stopnpctimer;
end;
}

 

thank you [solved]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...