Jump to content
  • 0

How to get Monster Info on map?


Question

Posted (edited)

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

5 answers to this question

Recommended Posts

  • 0
Posted

 

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

  • 0
Posted

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:

 

 

 

 

 

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...