Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×
  • 0

Summon monster midnight


Tassadar

Question


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.02
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/21/16
  • Last Seen:  

prontera,0,0	monster	Wild Rose	1261,1,7200000,3600000

how do I make a monster be invoked this way only once at midnight?

or

how do I do to in an invasion npc he summon the monster at midnight, only the big size monster?

Tks for help.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  333
  • Reputation:   68
  • Joined:  09/05/12
  • Last Seen:  

 

21 minutes ago, Tassadar said:

prontera,0,0	monster	Wild Rose	1261,1,7200000,3600000

how do I make a monster be invoked this way only once at midnight?

or

how do I do to in an invasion npc he summon the monster at midnight, only the big size monster?

Tks for help.

Try this one. It will summon 10 (Big) Wild Rose in Prontera on Midnight (12:00AM | 00:00 Server Time).
You will get Reward once you killed the Wild Rose.

-	script	Midnight Mob Invasion	-1,{
OnClock0000:
	announce "[Invasion]: 10 Giant Wild Rose has been summoned in Prontera!",0;
	// Summons 10 Wild Rose in prontera.
	monster "prontera",0,0,"[Event] Wild Rose",1261,10,strnpcinfo(3)+"::OnEventKill",2;
	end;

OnEventKill:
	message strcharinfo(0),"You have killed Wild Rose! You have been rewarded!";
	// Rewards when killed
	getitem 607,1;
	end;
}

 

 

Edited by GodKnows Jhomz
Added announce in the script
  • MVP 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.02
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/21/16
  • Last Seen:  

Thank you very much. It worked perfectly. I'm doing a very cool Event NPC. When it's ready, I'll post it here for you.

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