Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-04-2003, 06:28 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
cropping zoomed images

Hmm, I'm having a problem, I hope I can explain it well... Ok, here goes.

If I have an image of, for example, 16*16 pixels, then I want to do a setzoomeffect of... 3... Ok, So i've done that, and now I should have an image of 48*48 pixels. (Unless my math is just THAT horrible). Ok. Now, what if I do a
NPC Code:

setimgpart img,0,0,48,32;



Well... Nothing...

I've tried this useing showimgs as well,

NPC Code:

if (created) {
showimg 143,setimgpart black.png,x,y;
changeimgzoom 143,10;
changeimgpart black.png,x+32,y,32,32;
}



Will this not work? Or am I just really horrible at scripting?
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 07:19 AM.


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