Jump to content
  • 0

NPC GM Switch


balanar12321

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  04/11/15
  • Last Seen:  

https://upaste.me/aae1533814572094f

how to make this a gm Switch, and add a Start Event? and when the event start, when the players click this npc, they will warp to the event room

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

18 hours ago, balanar12321 said:

https://upaste.me/aae1533814572094f

how to make this a gm Switch, and add a Start Event? and when the event start, when the players click this npc, they will warp to the event room




Here

prontera,x,y,3	script	testGM	99,{
		if (getgmlevel() <= 90 ) goto GM_Menu;
		mes "[ Test NPC ]";
		mes "This is where it go if you are normal player";
		switch(select("Menu 1","Menu 2","Exit")){
				case 1:
						mes "Menu 1 dialog";
						end;
				case 2:
						mes "Menu 2 dialog";
						end;
				case 3:
						mes "Exiting Bye";
						end;
		}
		end;
GM_Menu:
		mes "[ Test NPC ]";
        mes "You are now in GM Menu";
		switch(select("GM Menu 1","GM Menu 2","Exit")){
				case 1:
						mes "GM Menu 1 dialog";
						end;
				case 2:
						mes "GM Menu 2 dialog";
						end;
				case 3:
						mes "Exiting Bye";
						end;
		}
		end;
}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  04/11/15
  • Last Seen:  

On 10/28/2020 at 3:39 PM, Poring King said:




Here


prontera,x,y,3	script	testGM	99,{
		if (getgmlevel() <= 90 ) goto GM_Menu;
		mes "[ Test NPC ]";
		mes "This is where it go if you are normal player";
		switch(select("Menu 1","Menu 2","Exit")){
				case 1:
						mes "Menu 1 dialog";
						end;
				case 2:
						mes "Menu 2 dialog";
						end;
				case 3:
						mes "Exiting Bye";
						end;
		}
		end;
GM_Menu:
		mes "[ Test NPC ]";
        mes "You are now in GM Menu";
		switch(select("GM Menu 1","GM Menu 2","Exit")){
				case 1:
						mes "GM Menu 1 dialog";
						end;
				case 2:
						mes "GM Menu 2 dialog";
						end;
				case 3:
						mes "Exiting Bye";
						end;
		}
		end;
}

 

Thanks sir

 

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