Thread: player
View Single Post
  #8  
Old 07-28-2007, 08:35 PM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Quote:
Originally Posted by WanDaMan View Post
no work.
PHP Code:

  this
.drawImage = function(imageData)
  {    
    new 
GuiShowImgCtrl("image_" @ temp.imageData[0]) 
    {
      for (
temp.objectData: temp.imageData[1])
      {
        if (
temp.objectData[0] == "playerlook")
        {
          
actor.playerlook = true;
          
actor.body = player.body;
          
actor.head = player.head;
          
actor.shield = player.shield;
          for (
temp.i = 0; temp.i < 6; temp.i++)
          {
            
actor.colors[temp.i] = player.colors[temp.i];
          }
          continue;
        }
        ( @ 
temp.objectData[0]) = temp.objectData[1];
      }

      if (
temp.imageData[2].size() != 0)
      {
        
thiso.catchevent(this, "onMouseDown", temp.imageData[2][0]);
      }
      
      
this.bringtofront();
    }
  }; 
here is how it is called

PHP Code:
  drawImage( {"image-Player", { {"position", {(thiso.backgroundSize[0] - 64), temp.newPosition[1] }}, {"extent", {48, 48}}, {"playerlook"} } }); 
the position and everything should work, it even reads the playerlook. Doesn't display the player look tho

showimg.actor.playerLook = true;
I suppose.
__________________
What signature? I see no signature?
Reply With Quote