Problem Description
In the attached example I am selecting text objects based on an "OR" to set the text one way. There is an "ELSE" below the "OR" which should catch all remaining text objects and set those to something different.
If you adjust the code to a set of individual events (IE no OR or ELSE) then it works fine.
Any help, suggestions etc appreciated.
Attach a Capx
Done, see attachment.
Description of Capx
Simply has 6 text objects, each has a single instance variable, called NumIn which is set to a random number (0 to 3) when a mouse key is pressed. Firstly this random number is placed in the text box, then a different message depending on whether the number is in 1,3 or in 0,2.
Steps to Reproduce Bug
- Run capx
- click any mouse key
- Observe that not all text boxes get the result message.
Observed Result
Not all text objects are being selected in the OR/ELSE block, some remain unset. The ELSE condition seems to get ignored.
I am not sure why this is happening, possibly the else is not acting on both parts of the or?
Expected Result
All text objects should get the result message.
Affected Browsers
- Chrome: (YES)
- IE
- Sorry, these are all I have installed just now
Operating System and Service Pack
Windows 8.1
Construct 2 Version ID
Beta r185