Thread: say2 question
View Single Post
  #3  
Old 04-29-2012, 04:57 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
There's the function setletters("nameoflettersimage");, not entirely sure if this is what Skyld meant.

If you want to alternate them according to what level you're in, they remain as what you set when entering a different level, so it's good to create a system to handle this upon entry, such as:

PHP Code:
//#CLIENTSIDE
function onCreated(){
  
this.letterlevels = {
    {
"inside_foxtunnel""fox"},
    {
"quest_sewers""sewer"},
    {
"quest_tomb""tomb"},
    {
"quest_castle""castlemine"},
    {
"inside_graalcastle""castle"},
  };
}
function 
onPlayerEnters(){
  for(
temp.this.letterlevels){
    if(
player.level.name.starts("classic_" temp.i[0])){
      
setletters("classic_gui_letters_" temp.i[1] @ ".png");
      return;
    }
  }
  
setletters("letters.png");


Last edited by ffcmike; 04-29-2012 at 05:15 PM..
Reply With Quote