brunoshp Posted February 23, 2019 Posted February 23, 2019 Have other solution to do this? - script AnunciadorTown -1,{ OnInit: setarray .Map$, // <mapname>,<Map Nick>, "payon"," Uma cidade na floresta ..LOL", "hugel"," Onde fica isso ?", "izlude"," Cidade dos Guerreiros ?", "prontera", "Capital de Rune Midgard", "geffen"," Cidade Mágica ?"; for( set .i,0; .i < getarraysize( .Map$ ) - 1; set .i,.i + 2 ) setmapflag .Map$[.i],mf_loadevent; end; OnPCLoadMapEvent: for( set .i,0; .i < getarraysize( .Map$ ) - 1; set .i,.i + 2 ) if( strcharinfo(3) == .Map$[.i] ) announce "Bem Vindo a "+.Map$[.i+1]+" .",bc_self,0x1affff; end; } i dont want to set maps in loadevents, have other solution? in other emulator exist region_db, but is very very very old emulator kkkkk Quote
0 Psy Ops Posted March 4, 2019 Posted March 4, 2019 There is an announcer that toggles all maps. Quote
0 Hyroshima Posted March 4, 2019 Posted March 4, 2019 (edited) On 2/23/2019 at 12:36 PM, brunoshp said: Have other solution to do this? - script AnunciadorTown -1,{ OnInit: setarray .Map$, // <mapname>,<Map Nick>, "payon"," Uma cidade na floresta ..LOL", "hugel"," Onde fica isso ?", "izlude"," Cidade dos Guerreiros ?", "prontera", "Capital de Rune Midgard", "geffen"," Cidade Mágica ?"; for( set .i,0; .i < getarraysize( .Map$ ) - 1; set .i,.i + 2 ) setmapflag .Map$[.i],mf_loadevent; end; OnPCLoadMapEvent: for( set .i,0; .i < getarraysize( .Map$ ) - 1; set .i,.i + 2 ) if( strcharinfo(3) == .Map$[.i] ) announce "Bem Vindo a "+.Map$[.i+1]+" .",bc_self,0x1affff; end; } iawe manolo, fiz a ideia que você queria apenas manipulando a entrada dos comandos @go e @war, ta na mão, qualquer coisa fala awe xDhttps://pastebin.com/raw/WkUJbpp7 Edited March 4, 2019 by Hyroshima 1 Quote
0 brunoshp Posted March 4, 2019 Author Posted March 4, 2019 Koe meu parça, fiz o sistema do Region do Eamod, fiz ele na src e funcionou! mas tms jnts man!!! 1 Quote
Question
brunoshp
Have other solution to do this?
i dont want to set maps in loadevents, have other solution?
in other emulator exist region_db, but is very very very old emulator kkkkk
3 answers 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.