Jump to content
  • 0

Can I do this?


Virtue

Question


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.02
  • Content Count:  354
  • Reputation:   22
  • Joined:  11/17/11
  • Last Seen:  

can I make a script that goes like this

OnClock00:00:
monster Poring amatsu
monster Poring amatsu

basically its a script that summons a monster every 12am.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  341
  • Reputation:   43
  • Joined:  01/10/12
  • Last Seen:  

This is the correct way to do it.

OnClock0000:
monster "amatsu",0,0,"--ja--",1002,2;

*monster "<map name>",<x>,<y>,"<name to show>",<mob id>,<amount>{,"<event label>"};

*areamonster "<map name>",<x1>,<y1>,<x2>,<y2>,"<name to show>",<mob id>,<amount>{,"<event label>"};

This command will spawn a monster on the specified coordinates on the specified

map. If the script is invoked by a character, a special map name, "this", will

be recognized to mean the name of the map the invoking character is located at.

This command works fine in the item scripts.

The same command arguments mean the same things as described above in the

beginning of this document when talking about permanent monster spawns. Monsters

spawned in this manner will not respawn upon being killed.

Unlike the permanent monster spawns, if the mob id is -1, a random monster will

be picked from the entire database according to the rules configured in the

server for dead branches. This will work for all other kinds of non-permanent

monster spawns.

The only very special thing about this command is an event label, which is an

optional parameter. This label is written like '<NPC object name>::<label name>'

and upon the monster being killed, it will execute the script inside of the

specified NPC object starting from the label given. The RID of the player

attached at this execution will be the RID of the killing character.

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