WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
Old 06-15-2009, 06:00 AM
Saz Saz is offline
Join Date: Nov 2008
Posts: 36
Timed changing message on screen


I'm trying to get a 'stop' message appear on the screen 10 seconds into the program, which waits for a second and then changes to 'go'. I've had various attempts and whilst I can get the intial message up (whether it starts off as go or appears at 10s in as stop), it won't change over to the other message.

This is one example of code used:

#Stop and go message
text_go.translate(.5, .9)
text_go.fontSize (35)

def stopSign():

	viz.waittime (1)
	text_go.message ('GO')
vizact.ontimer (10,stopSign)
and this is another:

def stopGo():
    Wait 10 secs
    text.message( 'STOP' )
    #Wait 1 sec
    text.message( 'GO' )
viz.director( stopGo )
which also fails to work, any ideas on what I'm doing wrong?
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
split screen honey006 Vizard 3 05-21-2009 09:57 AM
Remove the credits on the run screen Saz Vizard 1 11-21-2008 09:01 AM
screen image erchrastil Vizard 8 06-27-2008 11:45 AM
position of html-file on screen active_world Vizard 1 05-16-2008 07:24 PM
accessing screen buffer hotspur1 Vizard 3 08-22-2003 03:31 PM

All times are GMT -7. The time now is 08:41 PM.

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