Jump to content
  • 0

How to get Monster Info on map?


iubantot

Question


  • Group:  Members
  • Topic Count:  117
  • Topics Per Day:  0.03
  • Content Count:  312
  • Reputation:   34
  • Joined:  10/15/12
  • Last Seen:  

i want to get a certain info of a monster on a map.

max hp , hp, mobid , x coords, y coords

then i want to modify it.

like change its coords or maxhp

 

 

*Edit Fixed

 

 

 

 

 

now my problem is how do i kill a monster w/o triggering the event when the mob dies?

i would like to use the mobremove but rathena does not have it


re-topic

Edited by Itachi
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

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

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  588
  • Reputation:   437
  • Joined:  01/26/16
  • Last Seen:  

you can use unitkill command.

unitkill <GID>;

This command will kill a <GID>.
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  117
  • Topics Per Day:  0.03
  • Content Count:  312
  • Reputation:   34
  • Joined:  10/15/12
  • Last Seen:  

 

you can use unitkill command.

unitkill <GID>;

This command will kill a <GID>.

 

 

are there other options? because i want to kill the monster without triggering the event

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  117
  • Topics Per Day:  0.03
  • Content Count:  312
  • Reputation:   34
  • Joined:  10/15/12
  • Last Seen:  

but what if the player is attacking the monster then ontimer i will kill the monster but i do not want to trigger the event, 

example map is prontera

 

 

like mobremove command but it was removed :(

 

 

SOLVED my Instance is now working!!! THANKS Emistry >:))

Edited by Itachi
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  109
  • Topics Per Day:  0.02
  • Content Count:  272
  • Reputation:   16
  • Joined:  01/11/13
  • Last Seen:  

BUILDIN_FUNC(mobremove)

{

        struct block_list *bl = NULL;

 

        bl = map_id2bl( script_getnum(st,2) );

 

        if ( bl && bl->type == BL_MOB )

                unit_free(bl,CLR_OUTSIGHT);

 

        return SCRIPT_CMD_SUCCESS;

}

 

BUILDIN_DEF(mobremove,"i"),

On 4/23/2016 at 2:27 PM, iubantot said:

 

 

 

 

 

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