Thread: Set Effect
View Single Post
  #14  
Old 11-08-2009, 10:47 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Try changing this.mode = 1;

I'm under the impression setEffectMode() changes the mode for setEffect which affects the entire screen, not setColorEffect.

When you use setColorEffect this is basically what happens:

PHP Code:
//#CLIENTSIDE
function setColorEffect(rgba) {
  
this.red r;
  
this.green b;
  
this.blue b;
  
this.alpha a;

So try using this instead.

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
setColorEffect(1110.7);
  
this.mode 1;

__________________
Quote:
Reply With Quote