View Single Post
  #1  
Old 12-27-2012, 04:56 PM
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
GuiTextCtrl passed text not showing

This is just showing up "0"...

The echo right above the gui shows the correct value as well. I've also done it without destroy(), destroyonhide, and without the tween. None of that is effecting it.

PHP Code:
// Function to move in name on the screen
function showName()
{
  echo(
this.speaker);
  
Dialog_Name.destroy();
  new 
GuiTextCtrl("Dialog_Name"
  { 
    
30;
    
profile Armageddon_Text;
    
destroyonhide true;
      
    
text this.speaker;
    
    
width 128;
    
height 320;
      
    
//layer = 7;
    
zoom 0.7;
    
alpha 1;
    
    
fonttype "Palatino Linotype";
    
fontstyle "bu";
    
textshadow true;
    
shadowcolor = {606045};
    
shadowoffset = {43};
    
    
this.join("tween");
  }
  
Dialog_Control.addcontrol(Dialog_Name);
  
  
// tween the image
  
(@"Dialog_Name").tween("x"0.250110);
  
waitfor((@"Dialog_Name"), "TweenFinished"0.05);

__________________
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