darking123 Posted May 19, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Share Posted May 19, 2012 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; } Quote Link to comment Share on other sites More sharing options...
Docubo Posted May 19, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 117 Reputation: 8 Joined: 05/07/12 Last Seen: May 12, 2024 Share Posted May 19, 2012 announce "Fortress [" + GetCastleName("arug_cas05") + "]'s 'Valfreyja' was captured by ["+strcharinfo(0)+"] of [" + getguildname(.@gid) + "] Guild.",bc_all|bc_woe; should work Quote Link to comment Share on other sites More sharing options...
Question
darking123
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
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.