Jump to content
  • 0
Sign in to follow this  
luizragna

Error when getunitdata from died unit

Question

Hello guys, when i use getunitdata in died mobs, the console shows:

Quote

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

Edited by luizragna

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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
 

Edited by AnnieRuru

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.