If statements and button presses
Hi All,
Is there any way of using an IF statement that involves a particular button press instead of a mouse position? For example... If buttondown = zone3button: Thanks Mark |
To be more specific I would like to store each buttonpress as a variable (3 in total) and then use a for loop to dictate whether the response was correct.
I have tried using mouse position instead, but this does not fit my purpose. The code looks like this currently and I would like to replace the m_pos1, m_pos2 and m_pos3 occurrences with button presses. Code:
zone1button.visible(viz.ON) |
All times are GMT -7. The time now is 09:03 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC