Jump to content
  • 0

help Monster spawn/respawn only near walls


namerpus18

Question


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.07
  • Content Count:  95
  • Reputation:   1
  • Joined:  11/15/22
  • Last Seen:  

Hello everyone can I request help how to make monster spawn/respawn only near the walls. I don't know how complicated it is but if someone can lead a way for me to understand. 

My mobs are:

//npc/pre-re/mobs/dungeons/dic_dun02
//I actually don't know if I can just add it here or make a function{} maybe?

dic_dun02,0,0,0,0	monster	Mineral		1614,10,0,0,0
dic_dun02,0,0,0,0	monster	Obsidian	1615,10,0,0,0

 

Thank you so much,

Noob

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.01
  • Content Count:  147
  • Reputation:   36
  • Joined:  05/15/20
  • Last Seen:  

dic_dun02,x1,y1,x2,y2

Set your first x1,y1 then add y2 value for vertical, add x2 for horizontal so it will be randomize on the x1 and y2 or y1 x2.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

2 hours ago, namerpus18 said:

Hello everyone can I request help how to make monster spawn/respawn only near the walls. I don't know how complicated it is but if someone can lead a way for me to understand. 

My mobs are:

//npc/pre-re/mobs/dungeons/dic_dun02
//I actually don't know if I can just add it here or make a function{} maybe?

dic_dun02,0,0,0,0	monster	Mineral		1614,10,0,0,0
dic_dun02,0,0,0,0	monster	Obsidian	1615,10,0,0,0

 

Thank you so much,

Noob

 

dic_dun02,x,y    monster    Mineral    1614,10,0,0

mapname,map coordiate x,y

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.07
  • Content Count:  95
  • Reputation:   1
  • Joined:  11/15/22
  • Last Seen:  

1 hour ago, Brynner said:
dic_dun02,x,y    monster    Mineral    1614,10,0,0

mapname,map coordiate x,y

Uhm, thank you. I need it to be random in different areas at it only spawns 10 at a time.

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