WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 06-14-2006, 10:26 AM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
Start another timer in the code that makes the person appear. Start the timer with a unique timer number so you know when this timer ends. When the timer callback function is called with the unique timer number, call visible( viz.OFF ) on the avatar.

Code:
#With the code that starts the avatar
viz.starttimer( HIDE_AVATAR_TIMER, 5 )


#Timer callback
def myTimer( num ):
   if num == HIDE_AVATAR_TIMER:
       avatar.visible( viz.OFF )
__________________
Paul Elliott
WorldViz LLC
Reply With Quote
 


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


All times are GMT -7. The time now is 01:18 AM.


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