View Single Post
  #3  
Old 08-11-2005, 03:34 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

The following thread should help you with your problem: http://www.worldviz.com/forum/showth...=&threadid=277

Basically, you need to change your script to the following:
Code:
import viz
viz.go()

if viz.running():
	h = 1
	h = viz.input("enter the number of human players: ")

	while (h>5):
		print "max of players is 5"
		h = viz.input("enter the number of human players: ")

viz.quit()
Let me know if this doesn't fix your problem
Reply With Quote