Conditional trigger possible?
Posted: Tue Nov 05, 2013 7:37 am
There is a system with a single button.
The logic:
[0] Standby
[1] User presses a button for the first time
[2] An audio file is played
[3a] User presses the button while audio is playing -> [4]
[3b] User does NOT press the button while audio is playing -> [1]
[4] More actions are performed -> [1]
The part I am currently struggling to figure out is logic behind the 3a and 3b triggers (e.g. how to make one button perform different actions, based on a situation when it is pressed)
I would deeply appreciate your help and input.
Thank you,
Alexander K
The logic:
[0] Standby
[1] User presses a button for the first time
[2] An audio file is played
[3a] User presses the button while audio is playing -> [4]
[3b] User does NOT press the button while audio is playing -> [1]
[4] More actions are performed -> [1]
The part I am currently struggling to figure out is logic behind the 3a and 3b triggers (e.g. how to make one button perform different actions, based on a situation when it is pressed)
I would deeply appreciate your help and input.
Thank you,
Alexander K