iubantot Posted April 23, 2016 Group: Members Topic Count: 117 Topics Per Day: 0.03 Content Count: 312 Reputation: 34 Joined: 10/15/12 Last Seen: Yesterday at 05:43 AM Share Posted April 23, 2016 (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 April 23, 2016 by Itachi Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted April 23, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 04:49 PM Share Posted April 23, 2016 doc/script_commands.txt#L5716-L5744 1 Quote Link to comment Share on other sites More sharing options...
0 Secrets Posted April 23, 2016 Group: Developer Topic Count: 36 Topics Per Day: 0.01 Content Count: 588 Reputation: 437 Joined: 01/26/16 Last Seen: Wednesday at 03:00 PM Share Posted April 23, 2016 you can use unitkill command. unitkill <GID>; This command will kill a <GID>. 1 Quote Link to comment Share on other sites More sharing options...
0 iubantot Posted April 23, 2016 Group: Members Topic Count: 117 Topics Per Day: 0.03 Content Count: 312 Reputation: 34 Joined: 10/15/12 Last Seen: Yesterday at 05:43 AM Author Share Posted April 23, 2016 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 Quote Link to comment Share on other sites More sharing options...
0 iubantot Posted April 24, 2016 Group: Members Topic Count: 117 Topics Per Day: 0.03 Content Count: 312 Reputation: 34 Joined: 10/15/12 Last Seen: Yesterday at 05:43 AM Author Share Posted April 24, 2016 (edited) doc/script_commands.txt#L5716-L5744 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 April 24, 2016 by Itachi Quote Link to comment Share on other sites More sharing options...
0 Scofield Posted August 5, 2024 Group: Members Topic Count: 109 Topics Per Day: 0.02 Content Count: 272 Reputation: 16 Joined: 01/11/13 Last Seen: Thursday at 07:33 PM Share Posted August 5, 2024 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: Quote Link to comment Share on other sites More sharing options...
Question
iubantot
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 ItachiLink to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.