Jump to content
  • 0

Auto spawn MVP


Azumoto

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  04/20/12
  • Last Seen:  

hello I would like to know whether it is possible to have a script that spawns every 30 minutes MVP monsters in all maps except Prontera, and of course the announced! thank you!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  04/20/12
  • Last Seen:  

I wanted a npc that you could set.

What mvp, and in which map ... can you have? thanks

UP

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

You can do all of that with Emistry's script. You should take a look at: script_commands.txt to learn how to edit scripts to your needs. It's 100% okay to request scripts, but it's even better if you yourself know how to make minor changes such as this.

OnInit:
.MobID = 1599; // MVP to spawn
setarray .Map$[0],"guild_vs1","guild_vs2","guild_vs3","guild_vs4","guild_vs5"; // Maps they will spawn on, add more as needed.

To add more MVPs as an option make these changes:

OnInit:
.MobID = 1599;
setarray .Map$[0],"guild_vs1","guild_vs2","guild_vs3","guild_vs4","guild_vs5";

.size = getarraysize( .Map$ );
end; }

INTO

OnInit:
setarray .MobID[0],1559; //Add more as needed
setarray .Map$[0],"guild_vs1","guild_vs2","guild_vs3","guild_vs4","guild_vs5";

.size = getarraysize( .Map$ );
.size2 = getarraysize(.MobID);
end;
}

THEN

monster .Map$[.@i],0,0,"--ja--",.MobID,1,strnpcinfo(0)+"::OnKilled";

INTO

monster .Map$[.@i],0,0,"--ja--",.MobID[rand(.size2)],1,strnpcinfo(0)+"::OnKilled";

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