Jump to content
  • 0

Question

Posted

i want that the name of the person who break the emperium will be shown but it didnt help please

this is what i edited i am using woe SE

OnStartArena:
set .@GID,getcharid(2);
// Lower castle Economy
set .@Economy,GetCastleData("arug_cas05",2) - 5;
if (.@Economy < 0) set .@Economy, 0;
SetCastleData "arug_cas05", 2, .@Economy;
// Lower Castle Defence
set .@Defence,GetCastleData("arug_cas05",3) - 5;
if (.@Defence < 0) set .@Defence, 0;
SetCastleData "arug_cas05", 3, .@Defence;
// Set new owner
SetCastleData "arug_cas05",1, .@GID;
// Clear castle's data.
for( set .@i, 4; .@i <= 9; set .@i, .@i+1 )
 SetCastleData "arug_cas05", .@i, 0;
// Disable Kafra
disablenpc "Kafra Employee#aru05";
set .msg,2;
if (.msg == 1) {
 announce "Fortress [" + GetCastleName("arug_cas05") + "]'s 'Valfreyja' was captured by ["+ .@name$ +"] of [" + getguildname(.@gid) + "] Guild.",bc_all|bc_woe;
 donpcevent "Manager#aru05_02::Onstart";
}
else if (.msg == 2) {
 announce "The [" + getguildname(.@gid) + "] conquered by ["+ .@name$ +"] of the [Valfreyja 5] stronghold of "+GetCastleName("arug_cas05"),bc_all|bc_woe;
 mapannounce "arug_cas05","The emperium has been shattered!",bc_map,"0x00FF00",FW_NORMAL,20,0,40;
 if (agitcheck2()) {
  donpcevent "Manager#aru05_02::Onreset";
  initnpctimer;
 }
 else {
  donpcevent "Manager#aru05_02::Onreset";
  stopnpctimer;
 }
}
else if (.msg == 0) {
 announce "Fortress [" + GetCastleName("arug_cas05") + "]'s 'Valfreyja' was captured by ["+ .@name$ +"] of [" + getguildname(.@gid) + "] Guild.",bc_all|bc_woe;
 donpcevent "Manager#aru05_02::Onreset";
 stopnpctimer;
 end;
}
MapRespawnGuildID "arug_cas05",GetCastleData("arug_cas05",1),2;
GetCastleData "arug_cas05",0,"::OnRecvCastlear05";
end;
OnTimer10000:
donpcevent "Manager#aru05_02::Onchange";
mapannounce "arug_cas05","Rebuild this stronghold's Guardian Stones and Fortress Gates to secure your guild's new aquisition!",bc_map,"0x00FF00",FW_NORMAL,20,0,40;
end;
}

1 answer to this question

Recommended Posts

Posted

announce "Fortress [" + GetCastleName("arug_cas05") + "]'s 'Valfreyja' was captured by ["+strcharinfo(0)+"] of  [" + getguildname(.@gid) + "] Guild.",bc_all|bc_woe;

should work

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