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 05-18-2004, 02:17 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
showimg > timeout >< help !

Well i've been scripting a GUI and i've put a script into a timeout as follows
NPC Code:

//#CLIENTSIDE
if(created || timeout){
this.w = screenwidth/screenwidth;
this.h = screenheight/screenheight;
showstats 1024;

if (mousescreenx in |50,70| && mousescreeny in |0,30|) {
if(leftmousebutton){
hideimg 302;
showimg 309,#3,this.x+this.x+52,this.h+this.y+40;
changeimgvis 309,4;
}

}
showimg 302,#W,this.x+this.x+52,this.h+this.y+40;
changeimgvis 302,4;

timeout=0.05;
}


That isn't the whole script, but as you can see..
When you click in the x and y it is suppose to hide the image index of 302, but it dosn't :O

Any idea how I can do it?
any help would help
__________________
V$:CONFL16T
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 05:35 AM.


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