View Single Post
  #1  
Old 12-12-2012, 02:48 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Loses temp value

I can't for the life of me figure out, or know, why this temp.message var loses its array value.... the first player.chat shows up perfectly fine, but the player.chat marked under // HERE is empty. The script does make it to that spot just fine.

PHP Code:
  // clear all images
  
player.chat message[0][0];
  
clearImages();
  
  
// set vars
  
this.conReturn conReturn;

  
// make player still
  
setani("idle"null);
  
disabledefmovement();
  
  
// move in stuff
  
tweenInHead(head);
  
tweenInName(speaker);
  
  if (
conReturn)
  {
    
// HERE
    
player.chat message[0][0];

    
tweenInMessage(message[0][0]);
    for (
temp.0message[0].size() - 1t++)
    {
      
tweenInChoices(message[0][i]);
    }
    
this.messageWaiting true;
  }else
  {
    
tweenInMessage(message);
  }
  
tweenInBG();
  
  
// set to show it's shown up and wait for interaction
  
this.shown true
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote