Jump to content
  • 0

R> MOB SPAWN EVENT WITH DIFFERENT DAY SET


Question

Posted

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

3 answers to this question

Recommended Posts

  • 0
Posted

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;
}
	



 

  • 0
Posted (edited)

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.

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