Jump to content

Question

Posted

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;
}

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...