Jump to content
  • 0
Peopleperson49

Setunitdata

Question

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,[email protected][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

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 [email protected][0],getarraysize([email protected]);
	monster "prontera",156,176,"Poring",1002,1;
	set .GID,[email protected][0];
        setunitdata .GID,UMOB_MAXHP,200000;
	setunitdata .GID,UMOB_HP,200000;
	end;
}
Edited by a91323
  • Upvote 1
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...

Important Information

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