Jump to content
  • 0

boss_monster script command


Jasc

Question


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  270
  • Reputation:   20
  • Joined:  12/10/11
  • Last Seen:  

Convex mirrors only work on boss_monsters using a permanent monster spawning script right now. I often like to do invasion events etc, requesting the ability to make it so script summoned MVPS can be found with convex mirrors as well such as LHZ bosses, since they are summoned by script but cannot be found by mirrors

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


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

This may not give the exact location on the map however, it will let you know if the monster is alive or not. So it KIND of solves your problem.

*mobcount("<map name>","<event label>")

This function will count all the monsters on the specified map that have a given
event label and return the number or 0 if it can't find any. Naturally, only
monsters spawned with 'monster' and 'areamonster' script commands can have non-empty
event label.
If you pass this function an empty string for the event label, it will return
the total count of monster without event label, including permanently spawning monsters.
With the dynamic mobs system enabled, where mobs are not kept
in memory for maps with no actual people playing on them, this will return a 0
for any such map.
If the event label is given as "all", all monsters will be counted, regardless of
having any event label attached.

If the map name is given as "this", the map the invoking character is on will
be used. If the map is not found, or the invoker is not a character while the map
is "this", it will return -1.


Also additionally, there are @commands that can do this for you.

@mobsearch <monster name>

Locates and displays the position of a certain mob on the current map.

Output Example:
1[155:184] Poring
2[154:188] Poring
3[127:146] Poring

---------------------------------------

AND

@showmobs <monster name/ID>

Locates and displays the position of a certain mob on your mini-map.
This shows up as a small white cross (+).

Do note, I am taking these at face value, whether or not these apply to monster's summoned by script or not is something you'll have to test for yourself. Should be very easy, just summon a poring/drops in prontera, and use the command, if it tells you it's location (and it is correct "assuming it hasn't walked away like 5-10 cells") then it does work for script spawned monsters. However if it doesn't tell you where it is, or show you if you used the other command, then it only applies to the monsters spawned naturally through the perm-spawn files.

Link to comment
Share on other sites


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

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