Author Topic: Disable the FX tab in a colorset?  (Read 559 times)

/title

I don't have the slightest clue how to do this.

Why would you even want/need to?


I doubt you can prevent it from showing entirely without client modification, but you could likely disable the serverCmd associated with the FX can. Its name should be something along the lines of serverCmdUseFXCan, but I'm not positive. There may be two commands for the color FX and shape FX cans.

It's impossible to hide it on the client side as far as I know, as it's built in.

Roam the base folder searching for a FX can function, then package it to do nothing

Roam the base folder searching for a FX can function, then package it to do nothing

Thanks, this set me on the right direction and I found it.

To anyone curious before I lock this,
Code: [Select]
package NoFX
{
 function serverCmdUseFXCan(){}
};
activatePackage(NoFX);

/UseFXCan and E on any FX/the FX tab won't enable FX but will simply stay on the last color until the package is deactivated.