Jump to content
  • 0

anyone know how to make npc hide?


RN1986

Question


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  439
  • Reputation:   2
  • Joined:  05/04/12
  • Last Seen:  

how to make a menu that will hide npc? and unhide ?

it for example the npc in prtg caso1

NPC: ahvray

only gm level 99

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2372
  • Joined:  10/28/11
  • Last Seen:  

like this ?

prontera,155,181,5 script Sample 757,{
select( ( .Hide )?"UnHide":"Hide" );
set .Hide,( .Hide )?0:1;
if( .Hide ){
hideonnpc "NPCNAME";
}else{
hideoffnpc "NPCNAME";
}
close;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  439
  • Reputation:   2
  • Joined:  05/04/12
  • Last Seen:  

example

prontera,155,181,5 script Sample 757,{
select( ( .Hide )?"UnHide":"Hide" );
set .Hide,( .Hide )?0:1;
if( .Hide ){
hideonnpc "Hokage Hat Quest";
}else{
hideoffnpc "Hokage Hat Quest";
}
close;

//------------------------------------------------------------------------------------------------------------------------------------/////

prontera,175,143,4 script Hokage Hat Quest 845,{ // ==Change coords, Name of NPC and Sprite==
set .@npc$,"[Mixis]"; // ==Change to name of npc==
mes .@npc$; // ==You can change the dialouge if you want==
mes "Do you want a Hokage hat?";
mes "This may help your journey....";
mes "then.";
mes "You must get the required items";
next;
menu "Hokage Hat",l_wbw,"No Thanks!",l_nothanks;

Edited by RN1986
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...