Hi, I am building a game with a verb interface which is visible all of the time.
I would like to be able to set the opacity of the interface when a verb action is started (e.g. "Look at Lamp").
I would then like it to set it back to full opacity when the action has been completed.
Is there any way to create a function/event listener which will do this for me?
I've got the snippet which will change the opacity of my Interface: Interfaces["Verbs"].Visibility = 30
And I've tried adding a listener on the Main Loop and on a textStarted event, but I just don't seem to be able to get the syntax right, or I'm approaching it the wrong way.
Sorry, I'm very new to this!
Thanks
Tom