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 08-08-2013, 05:37 AM
baseman101 baseman101 is offline
Scripter
baseman101's Avatar
Join Date: Nov 2012
Location: Purcellville, VA
Posts: 76
baseman101 will become famous soon enough
GuiShowImgCtrl Cutting Off

Hello,

I have an issue with a GuiShowImgCtrl cutting off. I'm attempting to script a GUI profile script for a server, but resizing the actor just adds the issue of it cutting off. I have tried GuiBitmapCtrl like another post suggested, but that doesn't support actors (I don't believe). Is there a way to achieve setting the height and width efficiently?



PHP Code:
new GuiShowImgCtrl("Profile_Char") {
  
235;
  
100;
  
playerlook false;
  
actor.head temp.char[0];
  
actor.attr[1] = temp.char[1];
  
actor.body temp.char[2];
  
actor.shield temp.char[3];
  
actor.colors[0] = temp.char[4];
  
actor.colors[1] = temp.char[5];
  
actor.colors[2] = temp.char[6];
  
actor.colors[3] = temp.char[7];
  
actor.colors[4] = temp.char[8];
  
ani "idle";
  
stretchx 1.5;
  
stretchy 1.5;
  
width 200;
  
height 50;

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 04:13 PM.


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