snovob93
06-18-2012, 08:53 AM
In my virtual world I have three targets. When I touch the first target for the first ten minutes I want it to fade out and target 2 to fade in. However, after 10 minutes I want target 3 to fade in. If this is my script for the exit proximity for the three spheres, does anyone know how I can write the conditions in? All the targets (spheres) were created outside of the exit proximity.
def ExitProximity(e):
fade = vizact.fadeTo(0,speed=2)
sphere.addAction(fade)
fade2 = vizact.fadeTo(1,speed=2)
sphere2.addAction(fade2)
fade3 = vizact.fadeTo(1,speed=2)
sphere3.addAction(fade3)
def ExitProximity(e):
fade = vizact.fadeTo(0,speed=2)
sphere.addAction(fade)
fade2 = vizact.fadeTo(1,speed=2)
sphere2.addAction(fade2)
fade3 = vizact.fadeTo(1,speed=2)
sphere3.addAction(fade3)