Error when getunitdata from died unit

luizragna

New member
Messages
114
Points
0
Location
In their hearts
Emulator
Hello guys, when i use getunitdata in died mobs, the console shows:

[Warning]: buildin_getunitdata: Error in finding object with given GID 110009625!
[Debug]: Source (NPC): S-BOSS#PayD04 at pay_dun04 (114,125)
I'm making a NPC that shows mob HP using command while.

 
Last edited by a moderator:
yeah we don't have *unitexists script command like rathena

although I am also not sure want to implement or not
because since the monster is set with a variable
upon the monster died, the event label can reset the variable back to 0



EDIT: ... maybe implement it then,
with *unitexists script command maybe the .mobid there can become .@mobid

PS: the script command setunitdata/getunitdata has more than 70% are not functioning,
https://github.com/HerculesWS/Hercules/compare/stable...AnnieRuru:34-setunitdata
and its not yet complete
 

 
Last edited by a moderator:
Back
Top