Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:44 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.