Thread: Health for HUD
View Single Post
  #9  
Old 09-19-2010, 03:07 AM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
Quote:
Originally Posted by Soala View Post
You can use function GraalControl.onResize and use the coordinates (x and y) you always want your image to show at.
Here's an example. ( I couldn't understand how to do it when I first started scripting) =
PHP Code:

function GraalControl.onReSize()
{

  
findimgID).VAL;
  
findimgID).VAL;


Quote:
Originally Posted by brasilboy109 View Post
so it'd be like???

PHP Code:
  //player hearts 0.5
  
showimg(201,"pavilion75-red-heart-heart.png",850,25);
  
changeimgzoom(201,1);
  
changeimgvis(201,4);
    
with (findimg(201)) { 
    
screenwidth 64
    
64
    
image "pavilion-red-heart.png"
    
layer 4
  } 
???
an easier way would be
PHP Code:
//player hearts 0.5
  
with (findimg(201))
  { 
    
layer 4
    
screenwidth 64
    
64
    
image "pavilion-red-heart.png"
    
zoom 1;    
  } 
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!
Reply With Quote