Jump to content
  • 0

request Random spawn Monster Event


croxinuz

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  62
  • Reputation:   0
  • Joined:  03/18/12
  • Last Seen:  

may someone help me for auto event npc spawn Random monster on Random map ?

exampel like :

i want spawn mob with number 1001,1002,1003,1005 random on a random map prontera,morocc,izlude every 30minute.

sorry for my bad english :D

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Like that ?

-	script	spawn_woe	-1,{
OnInit:
	setarray .mob_ID, 1001, 1002, 1003, 1005; // add more mob id
	setarray .map_event$, "prontera", "geffen"; // yours woe map
	.size_mob = getarraysize( .mob_ID );
	.size_map = getarraysize( .map_event$ );
	end;

OnMinute00:
OnMinute30:
	.@r = rand( .size_mob );
	.@m = rand( .size_map );
	monster .map_event$[.@m],0,0,"--ja--", .mob_ID[.@r],1,"";
	announce "a "+ strmobinfo( 1,.mob_ID[.@r] ) +" is spawn in "+ .map_event$[.@m] +" !",0;
	end;
}
  • Upvote 2
  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  59
  • Reputation:   2
  • Joined:  08/01/12
  • Last Seen:  

On 3/24/2013 at 2:00 PM, croxinuz said:

 

thank you sir.. i will try this :D

is this work? i try this but no treasure apear on map only announced !!  wwhy i put many treasure chest id mobs but no treasure apeared!! on town!!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  62
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   4
  • Joined:  02/19/17
  • Last Seen:  

-	script	spawn_woe	-1,{
OnInit:
	setarray .mob_ID, 1001, 1002, 1003, 1005; // add more mob id
	setarray .map_event$, "prontera", "geffen"; // yours woe map
	.size_mob = getarraysize( .mob_ID );
	.size_map = getarraysize( .map_event$ );
	end;

OnMinute00:
OnMinute30:
	.@r = rand( .size_mob );
	.@m = rand( .size_map );
	monster .map_event$[.@m],0,0,"--ja--", .mob_ID[.@r],1,"";
	announce "a "+ strmobinfo( 1,.mob_ID[.@r] ) +" is spawn in "+ .map_event$[.@m] +" !",0;
	end;
}

1. How to put a NPC to warp into the spawning site of the Boss and it will dissappear if the event and the boss already summoned into that map?

setarray .map_event$, "Custom Map"; // yours woe map

2. How to announce the killer of the boss?

how to set onBossKill function

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  62
  • Reputation:   0
  • Joined:  03/18/12
  • Last Seen:  

Like that ?

-	script	spawn_woe	-1,{
OnInit:
	setarray .mob_ID, 1001, 1002, 1003, 1005; // add more mob id
	setarray .map_event$, "prontera", "geffen"; // yours woe map
	.size_mob = getarraysize( .mob_ID );
	.size_map = getarraysize( .map_event$ );
	end;

OnMinute00:
OnMinute30:
	.@r = rand( .size_mob );
	.@m = rand( .size_map );
	monster .map_event$[.@m],0,0,"--ja--", .mob_ID[.@r],1,"";
	announce "a "+ strmobinfo( 1,.mob_ID[.@r] ) +" is spawn in "+ .map_event$[.@m] +" !",0;
	end;
}

 

thank you sir.. i will try this :D

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