iubantot Posted April 23, 2016 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
0 Secrets Posted April 23, 2016 Posted April 23, 2016 you can use unitkill command. unitkill <GID>; This command will kill a <GID>. 1 Quote
0 iubantot Posted April 23, 2016 Author 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
0 iubantot Posted April 24, 2016 Author 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
0 Scofield Posted August 5, 2024 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
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 Itachi5 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.