Jump to content
  • 0

Setunitdata


Peopleperson49

Question


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

I was playing with script commands I have never used, but for some reason I cannot get this to actually work. I have reviewed the script_commands.txt several times but none of my experimenting seems to work. Any ideas what I'm doing wrong? Thanks.

 

Peopleperson49

prontera,156,176,5	script	Voguale#RoUG	929,{
if(getgmlevel()<20) { mes "[Voguale]"; mes "Hi!"; close; }
monster "prontera",156,176,"Poring",1002,1;
set .GID,$@mobid[0];
setunitdata .GID,UMOB_HP,200000;
setunitdata .GID,UMOB_MAXHP,200000;
end;
}
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  99
  • Reputation:   10
  • Joined:  01/13/12
  • Last Seen:  

I have tried several different variations of this with no luck. An I missing something to make this work or is it somehow broken?

 

Peopleperson49

try it

prontera,156,176,5	script	Voguale#RoUG	929,{
	if(getgmlevel()<20) { mes "[Voguale]"; mes "Hi!"; close; }
	deletearray $@mobid[0],getarraysize($@mobid);
	monster "prontera",156,176,"Poring",1002,1;
	set .GID,$@mobid[0];
        setunitdata .GID,UMOB_MAXHP,200000;
	setunitdata .GID,UMOB_HP,200000;
	end;
}
Edited by a91323
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

I have tried several different variations of this with no luck. An I missing something to make this work or is it somehow broken?

 

Peopleperson49

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Thanks that work fine. Somebody should update the script_commands, lol.

 

Peopleperson49

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...