View Single Post
  #1  
Old 10-13-2013, 03:08 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
Showing a NPC Head on Map

Is there any odd reason this would show up the entire head img of an npc instead of the correct partx,y,w,h? (using the map released from atlantis, heavily modified though, for what its worth)

PHP Code:
 with (findimg(500 temp.baddy.id)) {
      
image temp.baddy.head;
      
party temp.baddy.dir 32;
      
partw parth 32;
      
alpha temp.da;
      
layer 7;
      
zoom 0.5;
      
mode 1;

      
temp.hx;
      
temp.hy;
  } 
temp.baddy.id does return the npc id, and if i echo temp.baddy.head it does get the correct head. Even if i echo out the partw or party it works in the echo, but it just shows up the entire head image, and not just the correct part of the image.
__________________
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...



Last edited by sssssssssss; 10-13-2013 at 03:25 AM..
Reply With Quote