Jump to content
  • 0

how do i make the npc like this?


Question

5 answers to this question

Recommended Posts

  • 1
Posted (edited)

 

It's kind of like this.

mapname,Y,X,Direction script NPCname NPClook,{

 

mes "[Donation Manager]";
mes "Welcome to the Donation Ticket Shop!";
mes "note : $1 =  1 Donation Ticket";
close3;
swith(select("open the shop:Cancel")){


case 1:
callshop "barters shop name";
end;

case 2:
end;
}
}

Edited by zigk
  • 0
Posted
12 hours ago, zigk said:

 

It's kind of like this.

mapname,Y,X,Direction script NPCname NPClook,{

 

mes "[Donation Manager]";
mes "Welcome to the Donation Ticket Shop!";
mes "note : $1 =  1 Donation Ticket";
close3;
swith(select("open the shop:Cancel")){


case 1:
callshop "barters shop name";
end;

case 2:
end;
}
}

prontera,190,130,7    script    Guild Pack    100,{

 

mes "[Donation Manager]";
mes "Welcome to the Donation Ticket Shop!";
mes "note : $1 =  1 Donation Ticket";
callshop "Guild_Pack";
}

 

Thanks man 😄

  • 0
Posted (edited)
//= Item shop selling Valkyrie gear for Proof of Donation Ticket.
//============================================================
prontera,150,150,4	itemshop	Valkyrie_Gear_Shop	115,7179,2357:1,2524:1,2421:1,5171:1

You can use this like this.

OR

Like this

prontera,155,185,4	script	Valkyrie_Gear_Shop	115,{
	mes "[Valkyrie Gear Merchant]";
	mes "Welcome! I trade powerful Valkyrie gear for Proofs of Donation.";
	next;
	// Call the floating itemshop by its unique name
	callshop "Valkyrie_Gear_Shop_Data", 1;
	end;
}

// Floating itemshop definition (invisible, holds the items and currency)
-	itemshop	Valkyrie_Gear_Shop_Data	-1,7179,2357:1,2524:1,2421:1,5171:1

 

Edited by Jinun

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