well would you look at that! Yours was the one I found!
I did have a question though... the one you wrote toggles all objects globally. How would I go about tweaking it to just do the selected objects? What I tried was changing all of the 'objects' to $ which works... but when I have nothing selected I get an error.
I don't know enough to be able to do a check for that. :/
Btw man I love your scripts. And I am going to buy the game you just finished up once I graduate in December. ;) Been keeping an eye out and watching Chris' character art on facebook... I am stoked man!