Attract-Mode Support > Scripting

Override select control on a layout

(1/1)

markc74:
Hi all. I'm working on a display menu layout where I want to override the default SELECT control with my own function.

I want to do something different when I press the select button, but at the moment when I try to this it simply loads the display it thinks I want anyway.

Any ideas?

markc74:
I worked it out  :)

Seems like function on_signal( signal_str ) did the trick...  :)

Another problem though - or actually a question - is it possible to write values somewhere when using the display menu (or any layout) ?

I want to store the state of elements on the layout on exit so that when it is reloaded they appear where they were from the previous time the menu was shown. If this sounds confusing let me know and I'll post a video of what I'm trying to achieve.

Thanks in advance!

markc74:
Aaaaand fixed this one too using the fe.nv table. 

Slowly getting where I need to be... There'll be more questions coming soon!

Navigation

[0] Message Index

Go to full version