752
OPUS Projektor Manual
How To
·
For each event that should remove a certain icon, put this code in a script:
icon_enable[<n>] = 0;//hide Icon n
//change flag
var flag = getVariableValue("icon_event_flag");
flag = flag + 1;
setVariableValue("icon_event_flag", flag);
·
To test this without actual events, you can put latching buttons on the screen with the above
2 scripts on OnPress and OnRelease, respectively. Each button should shows/hides one
icon, so you need to vary <n> in each script.
Please note:
There are no safety procedures in place here. If more than 10 events can occur at once, this
needs to be considered, e.g. by discarding the oldest entries.
The icons will always be sorted in the order that they are put in the list. If there should be a
FIFO or LIFO or any kind of other order, a second array with the position within the list objects
would be needed.