Code: Select all
$ blue = True
$ red = True
transform positionA():
xpos 0.5 ypos 0.5
linear 2.0 xpos 0.0 ypos 0.0
transform positionB():
xpos -0.5 ypos -0.5
linear 2.0 xpos 0.0 ypos 0.0
contains: #d_legr Only visible if there´s blue.
ConditionSwitch(points_high and blue, At("ball 02", positionA), #If it´s $ blue == True.
points_med and blue, At("ball 01", positionA),
points_low and blue, At("ball 00", positionA),
## If there´s anything else is Invisible or None
else, (None))
The thing is, in this "contain" I would like that whatever is not "$ blue ==True" Becomes invisible or inexistent, so "None".
So... Is there a way to say with ConditionSwitch...?
Code: Select all
else:
None