Jump to content
  • 0

Doppelganger mobcount


caspa

Question


  • Group:  Members
  • Topic Count:  194
  • Topics Per Day:  0.04
  • Content Count:  499
  • Reputation:   3
  • Joined:  03/11/12
  • Last Seen:  

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...

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  194
  • Topics Per Day:  0.04
  • Content Count:  499
  • Reputation:   3
  • Joined:  03/11/12
  • Last Seen:  

@bump?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  194
  • Topics Per Day:  0.04
  • Content Count:  499
  • Reputation:   3
  • Joined:  03/11/12
  • Last Seen:  

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]

Link to comment
Share on other sites

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.

×
×
  • Create New...