View Single Post
Old 29th July 2004, 09:39   #216
Major Dude
PAK-9's Avatar
Join Date: Oct 2002
Location: The United Kingdom of Great Britain and Northern Ireland
Posts: 1,374
The if statement in enabled=if(above(getspec(0,.5,0),a),1,0); is superfluous since above will return a 1 or 0 anyway. Personally I would use enabled=above(getspec(0,0,0),0);, but I'm at work so I cant test the effectiveness of that. If you wanted to blend it in and out:


(The last line is just an optimisation)
speed=a value between 0 and 1 representing how fast you want it to blend in and out. You might be able to replace 'fader' with alphaout and get rid of the penultimate line but I dont know if AVS would allow it, sometimes its fussy like that. Again, I'm at work so I cant test if this would work or not

PAK-9 is offline   Reply With Quote