Python question

Key = W

if W.isPositive() and not (Q.isPositive() or E.isPositive() and not Ride.isPositive()):
GameLogic.addActiveActuator(run, True)
else:
GameLogic.addActiveActuator(run, False)

I made this script so that the action doesn’t work when he’s riding an animal. The “Ride” sensor is a interval property. But it doesn’t work…

Anyone know why?

Thank you =]

yeah i noticed that in the demo maybe we should use states?

Explain me how and I’ll do my best. xD