View Single Post
  #7  
Old 01-31-2010, 01:56 AM
scriptless scriptless is offline
Banned
Join Date: Dec 2008
Location: N-Pulse
Posts: 1,412
scriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to behold
Yes, to adjust all alpha at once. And thank you for pointing that flaw out but why does it still not work?

Ahh.. and yes findimg(4002)) {} should have been "j" but i used 4002 for easier testing so i could comment j completly out and see if it worked by itself, nope. I know this is possible why is it being so hard right now? I know im not drunk or on drugs so what I am seeing happening is reality.

Might be worth mentioning that when I do player.chat = i; player chat becomes "6" instantly and does not move at all, no sleep() or waitfor() or even schedualedevent() seems to make a difference. Let me try temp.i, maybe?

Okay, thank you for your help. Got it working.
PHP Code:
//#CLIENTSIDE
function onCreated() {
  
with (findimg(4002) ) {
    
this.xy2 = {screenwidth-275,25};
    
this.xy = {temp.poly[0]+50temp.poly[1]+25};
    
polygon = {this.xy2[0],this.xy2[1],this.xy2[0]+250,this.xy2[1],this.xy2[0]+250,this.xy2[1]+75,this.xy2[0],this.xy2[1]+75};
    
layer 4;
    
red=green=blue=25;
  }
  
changeimgcolors(4002,0,0,0,.5);
  
with (findimg(4003)) {
    
this.xy2 = {screenwidth-215,35};
    
x=this.xy2[0];
    
y=this.xy2[1];
    
layer 5;
    
text "scriptless has logged on";
    
zoom .7;
  }
  
with (findimg(4004)) {
    
this.xy2 = {screenwidth-260,45};
    
x=this.xy2[0];
    
y=this.xy2[1];
    
layer 5;
    
image "head1212.png";
    
zoom 1.5;
  }
  
changeimgpart40040643232 );
  
  for ( 
temp.i=0temp.i<.60temp.+= 0.02) {
    for ( 
j=4002j<4005j++ ) {
      
with (findimg(j)) { alpha temp.i; }
    }
    
waitfor("""noevent"0.05);
    
player.chat temp.i;
  }


Last edited by scriptless; 01-31-2010 at 02:02 PM..
Reply With Quote