Jump to content
  • 0

Transparent skin on npc


Question

6 answers to this question

Recommended Posts

  • 0
Posted
6 hours ago, mrfizi said:
OnInit:
	PUB:    
	showscript "Your text here";
	sleep 3000;    
	goto PUB;
end;

 

 

Hey, friend,

It would be like this, but when I click on the NPC the title comes to my character.
How to leave it only on the npc for informational.

  • 0
Posted (edited)
Spoiler
prontera,124,201,1	script	Universal Rental NPC	726,{
	if (ismounting()) {
		message strcharinfo(0),"You must first remove your mount.";
		end;
	} else if (((eaclass()&EAJ_THIRDMASK)==EAJ_RANGER) && !countitem(6124)) {
		if (!checkfalcon() && getskilllv("HT_FALCON") && !checkwug()) {
			if(select(" ~ Falcon: ~ Warg")==1) setfalcon;
			else getitem 6124,1; //Wolf's_Flute
		} else getitem 6124,1; //Wolf's_Flute
	} else if (((eaclass()&EAJ_THIRDMASK)==EAJ_MECHANIC) && !checkcart() && getskilllv("MC_PUSHCART")) {
		if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) {
			if(select(" ~ Cart: ~ Mado")==1) setcart;
			else setmadogear;
		} else setcart;
	} else if (!checkcart() && getskilllv("MC_PUSHCART")) setcart;
	else if (!checkfalcon() && getskilllv("HT_FALCON") && !checkwug()) setfalcon;
	else if (!checkriding() && !checkdragon() && getskilllv("KN_RIDING")) {
		if ((eaclass()&EAJ_THIRDMASK)==EAJ_RUNE_KNIGHT) setdragon;
		else setriding;
	} else if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) setmadogear;
	else {
		message strcharinfo(0),"You do not meet requirements to rent.";
		end;
	}
	specialeffect2 EF_TEIHIT3;
	end;

OnInit:
	PUB:    
	showscript "Your text here";
	sleep 3000;    
	goto PUB;
end;

}

 

This is the example..

Edited by mrfizi
  • Love 1
  • 0
Posted
56 minutes ago, mrfizi said:
  Hide contents
prontera,124,201,1	script	Universal Rental NPC	726,{
	if (ismounting()) {
		message strcharinfo(0),"You must first remove your mount.";
		end;
	} else if (((eaclass()&EAJ_THIRDMASK)==EAJ_RANGER) && !countitem(6124)) {
		if (!checkfalcon() && getskilllv("HT_FALCON") && !checkwug()) {
			if(select(" ~ Falcon: ~ Warg")==1) setfalcon;
			else getitem 6124,1; //Wolf's_Flute
		} else getitem 6124,1; //Wolf's_Flute
	} else if (((eaclass()&EAJ_THIRDMASK)==EAJ_MECHANIC) && !checkcart() && getskilllv("MC_PUSHCART")) {
		if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) {
			if(select(" ~ Cart: ~ Mado")==1) setcart;
			else setmadogear;
		} else setcart;
	} else if (!checkcart() && getskilllv("MC_PUSHCART")) setcart;
	else if (!checkfalcon() && getskilllv("HT_FALCON") && !checkwug()) setfalcon;
	else if (!checkriding() && !checkdragon() && getskilllv("KN_RIDING")) {
		if ((eaclass()&EAJ_THIRDMASK)==EAJ_RUNE_KNIGHT) setdragon;
		else setriding;
	} else if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) setmadogear;
	else {
		message strcharinfo(0),"You do not meet requirements to rent.";
		end;
	}
	specialeffect2 EF_TEIHIT3;
	end;

OnInit:
	PUB:    
	showscript "Your text here";
	sleep 3000;    
	goto PUB;
end;

}

 

This is the example..

 

Now I understand...

Help me here, to add this command to a shop NPC, what would it look like?

 

prontera,160,190,3	shop	NPC_teste	757,607:-1

 

  • 0
Posted
prontera,160,190,3	script	NPC teste	757,{
		callshop "NPC_teste",0;
		end;

OnInit:
	PUB:    
	showscript "Your text here";
	sleep 3000;    
	goto PUB;
end;


}

-	shop	NPC_teste	-,607:-1

Not test.. try this

  • Upvote 1
  • MVP 1
  • 0
Posted
4 hours ago, mrfizi said:
prontera,160,190,3	script	NPC teste	757,{
		callshop "NPC_teste",0;
		end;

OnInit:
	PUB:    
	showscript "Your text here";
	sleep 3000;    
	goto PUB;
end;


}

-	shop	NPC_teste	-,607:-1

Not test.. try this

 

 

Thank you very much 😉

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