Jump to content
  • 0
Sign in to follow this  
joven15

Mapname Selft Announcer

Question

Can anyone help me please.

 

4iekuw.jpg

 

 

- script Sample -1,{
OnInit:
setarray .Map$, // <mapname>,<Map Nick>,
 
"c_tower3_","Clock Tower, 3nd Floor",
"artz_pvp","TrivalRO PVP";
 
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 "You entered map : "+.Map$[.i+1]+" .",bc_self;
end;
}

 

Share this post


Link to post
Share on other sites

37 answers to this question

Recommended Posts

  • 0

 

 

 

I have same script like this and it's working only on my 2 custom maps, other map like prontera, morroc etc it doesn't announce the name of the map please check thanks..

 

here's the script.. help please!

 

- script where_am_i -1,{

OnPCLoadMapEvent:

set .@map$, replacestr(replacestr(strcharinfo(3), "@","_"), "-","_");

if (getd("."+.@map$+"$") != "")

  announce " [ " + getd("."+.@map$+"$") + " ] ",bc_self,;

end;

OnInit:

 

set .prontera$, "Prontera City, Capital of Rune Midgard";

set .morocc$, "Morroc Town";

set .06guild_03$, "Guild War Arena";

set .06guild_04$, "Guild War Arena";

end

}

 

Thanks!

 

do those maps got loadevent mapflag?

@evilpuncker

can you help me also w/ this?

 

your script is pretty broken lol xD use this one instead and add your custom maps: http://upaste.me/r/d51c1147949c141ff

okei i use this and i got this debug, but i can't find "1" on the script..

 

V8HGd.png

Share this post


Link to post
Share on other sites
  • 0

 

 

 

 

I have same script like this and it's working only on my 2 custom maps, other map like prontera, morroc etc it doesn't announce the name of the map please check thanks..

 

here's the script.. help please!

 

- script where_am_i -1,{

OnPCLoadMapEvent:

set .@map$, replacestr(replacestr(strcharinfo(3), "@","_"), "-","_");

if (getd("."+.@map$+"$") != "")

  announce " [ " + getd("."+.@map$+"$") + " ] ",bc_self,;

end;

OnInit:

 

set .prontera$, "Prontera City, Capital of Rune Midgard";

set .morocc$, "Morroc Town";

set .06guild_03$, "Guild War Arena";

set .06guild_04$, "Guild War Arena";

end

}

 

Thanks!

 

do those maps got loadevent mapflag?

@evilpuncker

can you help me also w/ this?

 

your script is pretty broken lol xD use this one instead and add your custom maps: http://upaste.me/r/d51c1147949c141ff

okei i use this and i got this debug, but i can't find "1" on the script..

 

V8HGd.png

post your edited script here on upaste

Share this post


Link to post
Share on other sites
  • 0

 

 

 

 

 

I have same script like this and it's working only on my 2 custom maps, other map like prontera, morroc etc it doesn't announce the name of the map please check thanks..

 

here's the script.. help please!

 

- script where_am_i -1,{

OnPCLoadMapEvent:

set .@map$, replacestr(replacestr(strcharinfo(3), "@","_"), "-","_");

if (getd("."+.@map$+"$") != "")

  announce " [ " + getd("."+.@map$+"$") + " ] ",bc_self,;

end;

OnInit:

 

set .prontera$, "Prontera City, Capital of Rune Midgard";

set .morocc$, "Morroc Town";

set .06guild_03$, "Guild War Arena";

set .06guild_04$, "Guild War Arena";

end

}

 

Thanks!

 

do those maps got loadevent mapflag?

@evilpuncker

can you help me also w/ this?

 

your script is pretty broken lol xD use this one instead and add your custom maps: http://upaste.me/r/d51c1147949c141ff

okei i use this and i got this debug, but i can't find "1" on the script..

 

V8HGd.png

post your edited script here on upaste

Here please check, thanks! http://upaste.me/0dcd11491890e9ed6

 

i change a little bit this one:

announce "" + .maps$[ .@i + 1 ] + "", bc_self, 0xDC143C, FW_BOLD,20;

Edited by P r o p e r t i e s

Share this post


Link to post
Share on other sites
  • 0

sir the script you made proberly keeps repeating it self after rewapring in the same map ? if it does could you let it only shown once only when enter new map show again ? :D haha thnx

Edited by Zezicla

Share this post


Link to post
Share on other sites
  • 0

 

http://upaste.me/b0d911495238210bc

 

 

changed:

 

"c_tower3_","Clock Tower, 3nd Floor",

 

into:

 

"c_tower3_","Clock Tower, 3nd Floor";

Hi. sir can i ask. how to change the color of the announcer . like BLUE or DARK BLUE COLOR . can u help us?

 

 

change the DC143C to desired color, you may use this tool to get the code http://www.colorschemer.com/online.html

Share this post


Link to post
Share on other sites
  • 0

 

 

http://upaste.me/b0d911495238210bc

 

 

changed:

 

"c_tower3_","Clock Tower, 3nd Floor",

 

into:

 

"c_tower3_","Clock Tower, 3nd Floor";

Hi. sir can i ask. how to change the color of the announcer . like BLUE or DARK BLUE COLOR . can u help us?

 

 

change the DC143C to desired color, you may use this tool to get the code http://www.colorschemer.com/online.html

can u give us example?

Share this post


Link to post
Share on other sites
  • 0

 

 

 

http://upaste.me/b0d911495238210bc

 

 

changed:

 

"c_tower3_","Clock Tower, 3nd Floor",

 

into:

 

"c_tower3_","Clock Tower, 3nd Floor";

Hi. sir can i ask. how to change the color of the announcer . like BLUE or DARK BLUE COLOR . can u help us?

 

 

change the DC143C to desired color, you may use this tool to get the code http://www.colorschemer.com/online.html

can u give us example?

 

changing the current color into the first color of the link I gave u:

 

announce "" + .maps$[ .@i + 1 ] + "", bc_self, 0xDC143C, FW_BOLD,20;

 

will be

 

announce "" + .maps$[ .@i + 1 ] + "", bc_self, 0x3366FF, FW_BOLD,20;

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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