I have a very strange issue I will describe and provide repro case:
I use OnMouseDown rather than OnChange as the touchscreen interface I have does strange things with OnChange. I can repro this issue with a single button in a brand new layout as follows:
1. Create new layout
2. create new button, select toggle mode
3. Use following PangoScript
It would appear that whenever you:
a) change from edit to play mode
b) right-click the layout tab in the universe
c) open the universe with this layout selected
The cue will be started without the button being clicked. If I change OnMouseDown to OnChange, the behavior doesn't occur.
Thoughts??
Attached is a layout. Rename and drop the .txt extension.
I use OnMouseDown rather than OnChange as the touchscreen interface I have does strange things with OnChange. I can repro this issue with a single button in a brand new layout as follows:
1. Create new layout
2. create new button, select toggle mode
3. Use following PangoScript
Code:
OnMouseDown:
if(value<0.5) goto StartAction
StopCue 1,1
exit
StartAction:
StartCue 1,1
exit
It would appear that whenever you:
a) change from edit to play mode
b) right-click the layout tab in the universe
c) open the universe with this layout selected
The cue will be started without the button being clicked. If I change OnMouseDown to OnChange, the behavior doesn't occur.
Thoughts??
Attached is a layout. Rename and drop the .txt extension.