Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-13-2009, 07:14 PM
Megamas Megamas is offline
Jack Jasra
Megamas's Avatar
Join Date: Jun 2004
Location: Silvercoast Island
Posts: 3
Megamas is on a distinguished road
Parts of an image for GuiBitmapCtrl

Is there a function like setimgpart x,y,width,height; for GuiBitmapCtrl? =/
When I set width = the image only gets smaller. ><
__________________
Reply With Quote
  #2  
Old 11-13-2009, 07:40 PM
Liberated Liberated is offline
not doing alot
Liberated's Avatar
Join Date: Feb 2008
Posts: 1,366
Liberated has a spectacular aura about
Quote:
Originally Posted by Megamas View Post
Is there a function like setimgpart x,y,width,height; for GuiBitmapCtrl? =/
When I set width = the image only gets smaller. ><
not that i know of, but im pretty new to scripting myself, btw.
Congratiulations on your first post on the forums, in the 6 years that you've been registered.
__________________
Quote:
Originally Posted by Tigairius View Post
I promise when I get rich I'll send you an iPhone. I'll send everyone an iPhone.
Reply With Quote
  #3  
Old 11-13-2009, 08:03 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Try partx, party, partw and parth.
__________________
Reply With Quote
  #4  
Old 11-13-2009, 08:26 PM
Megamas Megamas is offline
Jack Jasra
Megamas's Avatar
Join Date: Jun 2004
Location: Silvercoast Island
Posts: 3
Megamas is on a distinguished road
Ahh thank you! =D worked! But just on GuiShowImgCtrl, wont work with GuiBitmapCtrl.
__________________
Reply With Quote
  #5  
Old 11-13-2009, 08:56 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Megamas View Post
Ahh thank you! =D worked! But just on GuiShowImgCtrl, wont work with GuiBitmapCtrl.
Sorry, didn't have any time to try it.
__________________
Reply With Quote
  #6  
Old 11-14-2009, 09:41 AM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
GuiBitmapCtrl.setvalue(int, int) - sets the offset of the image (horizontal and vertical)
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote
  #7  
Old 11-14-2009, 07:59 PM
Programmer Programmer is offline
Coder
Programmer's Avatar
Join Date: Jan 2008
Location: -78.464422, 106.837328
Posts: 449
Programmer has a spectacular aura aboutProgrammer has a spectacular aura about
Send a message via AIM to Programmer Send a message via MSN to Programmer Send a message via Yahoo to Programmer
Quote:
Originally Posted by Switch View Post
GuiBitmapCtrl.setvalue(int, int) - sets the offset of the image (horizontal and vertical)
This sets how far the whole image is from the GuiBitmapCtrl's origin (0, 0 on the control), and not for parts of images.
__________________
- Iᴀɴ Zɪᴍᴍᴇʀᴍᴀɴ
Reply With Quote
  #8  
Old 11-14-2009, 08:49 PM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
Quote:
Originally Posted by Programmer View Post
This sets how far the whole image is from the GuiBitmapCtrl's origin (0, 0 on the control), and not for parts of images.
Never worked with GuiBitmapCtrl's, so I just tried a search, sorry
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote
Reply

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:53 PM.


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