Thread: Set Effect
View Single Post
  #9  
Old 11-08-2009, 08:53 PM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Here are some screens to show what i mean, the code im using is:


PHP Code:
//#CLIENTSIDE
function onCreated(){

}
function 
onPlayerTouchsMe(){
  
dontblocklocal();
  
drawoverplayer();
  
setEffectMode(1);
  
setColorEffect(111.7);
  
setTimer(7);

}

function 
onTimeout(){
  
setEffectMode(1);
  
setColorEffect(1111);

order of the screens should be before touching the image, while in the image, and after leaving the image.

Ive tried a few different things, like using showimg, not including setEffectMode(1) on the timeout and stuff, but regardless of the timeout, when i touch it and it turns more transparent, thats when the yellow shows up.
Attached Thumbnails
Click image for larger version

Name:	beforetouching.png
Views:	278
Size:	141.9 KB
ID:	49810   Click image for larger version

Name:	inside.png
Views:	277
Size:	128.5 KB
ID:	49811   Click image for larger version

Name:	aftertouching.png
Views:	266
Size:	137.2 KB
ID:	49812  
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote