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

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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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