Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: jretropie on November 08, 2016, 11:59:25 AM

Title: How to change background for certain filter name?
Post by: jretropie on November 08, 2016, 11:59:25 AM
How to change background for certain filter name? :-[

I try the following code but it's not working:

function Filter_Name(){
   if (fe.filter.name == "Street Fighter") return "Street Fighter_black.png";
}

local bg = fe.add_image( "[!Filter_Name]", 0, 0, flw, flh );