WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 08-02-2009, 10:34 AM
jvacare1 jvacare1 is offline
Join Date: Aug 2009
Posts: 6
beginner flow control question

Hello everyone,

I have a beginner's question on flow control that I couldn't find an answer to with forum topic search.

My script involves the MainView navigating a maze. There are "setup" hotspots in various locations which set up other "trial" hotspots, which are the ones in which we are interested. The hotspots are working great, but when the MainView reaches the trial hotspot, I would like to do the following:

1. Move the MainView to a specific location
2. Present the user with a text choice
3. Halt all script and inputs until the user presses one of two keys
4. Move the MainView to one of two destinations depending on the keypress

Number 3 is the one I'm having trouble with. I would like to make it such that until the user presses one of two keys, the only action that can be taken is that the MainView can pivot. I would like to make it so that the MainView cannot move through inputs, and that the this condition will last until one of two keys are pressed.

I'm familiar with events but don't see how I can "shut down" the Vizard environment until the appropriate keyevent fires.

Any help is greatly appreciated!

Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
adding more than 1 action for avatar animation slider control yak Vizard 0 07-21-2009 11:22 AM
orientation question whj Vizard 3 01-21-2009 11:22 AM
Control of timers vizmaster Vizard 6 08-22-2008 09:36 AM
General question and question regarding arrays dan12345 Vizard 1 01-15-2008 10:15 AM
to rephrase my question... shai Vizard 2 10-27-2004 10:55 AM

All times are GMT -7. The time now is 11:02 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2023, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC