Im playing around with animation actions and properties. I feel like the script below should work but doesnt.
if not "run" in owner: owner["run"] =False run = controller.actuators["run"] if wkey ==2: owner["run"] = True owner.applyMovement(0,5,0) if owner["run"] == True: controller.activate(run)
The owner moves as it should. But the animation doesnt play. Any thing im doing wrong or will it not work like this? Maybe I should use while?