View Single Post
  #2  
Old 07-26-2013, 01:32 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,466
If you place the conditions to wait for in a list it should work:
Code:
yield viztask.waitAny([vizproximity.waitEnter(c2Sensor),viztask.waitKeyDown("t")])
Reply With Quote