Jump to content
  • 0

Abandon castle script


rqueen

Question


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   1
  • Joined:  04/30/13
  • Last Seen:  

Need help with this script, it's supposedly an npc that gives you a menu of all available castles and an option to force abandon the castle, regardless of break guild.

 

Here's an excerpt:

					set .@menu, select("Neuschwanstein:Hohenschwangau:Nuenberg:Wuerzburg:Rothenburg");
					next;
					switch(.@menu)
					{
						case 1:
							donpcevent "Agit#aldeg_cas01::OnGuildBreak";
							break;
						
						case 2:
							donpcevent "Agit#aldeg_cas02::OnGuildBreak";
							break;
						
						case 3:
							donpcevent "Agit#aldeg_cas03::OnGuildBreak";
							break;
						
						case 4:
							donpcevent "Agit#aldeg_cas04::OnGuildBreak";
							break;
						
						case 5:
							donpcevent "Agit#aldeg_cas05::OnGuildBreak";
							break;
					}
					close; 

 

It gives the "Guild Base [guild castle name here] has been abandoned." broadcast, but when I check the castle in question, nothing happened.

Edited by rqueen
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   1
  • Joined:  04/30/13
  • Last Seen:  

Anyone?

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