Jump to content
  • 0

R> MOB SPAWN EVENT WITH DIFFERENT DAY SET


lordjedi3

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   0
  • Joined:  03/26/14
  • Last Seen:  

HI GUYS... I NEED SCRIPT MOB SPAWN EVENT WITH DIFFERENT DAY SET,RANDOM SPAWN  LIKE.... SUNDAY 12.00AM PRT_FILD03 /MONDAY 2.00AM PAY_FILD05     Sunday>Saturday

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  477
  • Reputation:   269
  • Joined:  06/13/17
  • Last Seen:  

remove

OnMinute30:


then put the dates and time.

OnSun1200:
OnMon1400:
OnTue1600:
OnWed1800:
OnThu2000:
OnFri2200:
OnSat0000:

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

Haven't tested this yet :))
 

-	script	spawn_event	HIDDEN_WARP_NPC,{
OnSun0000:
OnMon0200:
	if(gettime(DT_DAYOFWEEK) == SUNDAY)
		.@map$ = "prt_fild03";
	else
		.@map$ = "pay_fild05";
	monster .@map$,0,0,"Field Boss",.mob_id[rand(getarraysize(.mob_id))],1;
	announce "System : A field boss appeared at" + .@map$;
	end;
		
OnInit:
	setarray .mob_id,1001,1002;
	end;
}
	



 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   0
  • Joined:  03/26/14
  • Last Seen:  

Sir can u modified this script...im only focus to 1 mob with different spawn location but... i dont want time timing i want day timing with time  sunday 12.00pm ,monday14.00pm,tuesday16.00pm ,wednesday18.00pm,thursday20.00pm,friday 22.00pm and saturday....???

Mobspawn_Event.txt

only remove that?how about other with ontimer?i tested it only just annouced no monster spawn in that map...

Mobspawn_Event.txt

Edited by Emistry
Merged + Hidden duplicated content.
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...