WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-11-2012, 02:25 AM
sleiN13 sleiN13 is offline
Member
 
Join Date: Dec 2008
Posts: 83
You could just create a list with all speeds in it four times than randomize the order of the list and pop a new speed from it.
Reply With Quote
  #2  
Old 12-11-2012, 03:02 AM
new_horizon new_horizon is offline
Member
 
Join Date: Apr 2010
Posts: 43
That is true, but the issue is how to ensure that the program does not select the same speed twice (e.g there will be four entries of 30mph...how can I get it effectively "cross" these entries out once they have been randomly selected once?

T
Reply With Quote
Reply

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
User keyboard input without halting the program Zhi Vizard 2 06-23-2011 12:53 PM
How can i import the code form a Java program to Vizard? alberto_redo Vizard 1 10-07-2010 12:18 PM
How do I run a destructor before the end of the program? EnvisMJ Vizard 3 12-14-2009 05:17 PM
Get position data in an own little program Researcher Precision Position Tracker (PPT) 2 02-01-2006 02:55 AM
Loading .3ds-Files without interrupting Program flow Stefan Vizard 10 06-08-2005 04:44 PM


All times are GMT -7. The time now is 12:51 PM.


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