Jump to content
Kleene33

Castle aufgeben

Recommended Posts

Hallo zusammen,

 

vielleicht ist es eine ganz doofe Frage, aber wie kann eine Gilde ein Castle wieder aufgeben ?

Konnte man das nicht früher mal bei dem Npc wo man auch Kafra usw sich holt?

 

Danke schon mal im voraus

 

Kleene

Link to comment
Share on other sites

Gilde breaken funktioniert immer :D

 

Edit:

Gerade mal in die Scripts geschaut. Scheint tatsächlich der einzige Weg zu sein ein Castle aufzugeben. Allerdings werden dann alle Castles der Gilde aufgegeben...

Edited by Jey
Link to comment
Share on other sites

schade ich hatte gehofft , daß ich irgendwas übersehen hatte.

 

Gibt es denn irgend ein script bzw command was man schreiben könnte ?

Link to comment
Share on other sites

function	script	AbandonCastle	{
	set [email protected]_map$,getarg(0);
	// Kill guardians, disable the Kafra, and set owner to 0.
	killmonster [email protected]_map$,"Guardian#"[email protected]_map$+"::OnGuardianDied";
	disablenpc "Kafra Staff#"[email protected]_map$;
	SetCastleData [email protected]_map$,1,0;
	// Wait before refreshing guild information.
	sleep 7000;
	Announce "Guild Base [" + GetCastleName([email protected]_map$) + "] has been abandoned.",0;
	donpcevent [email protected]_map$+"::OnRecvCastle";
	return;
}

Der Snippet ist prinzipiell geklaut aus agit_main.txt "OnGuildBreak". Für SE brauchst solltest du nochmal in agit_main_se.txt schauen ;>

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
Reply to this topic...

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.