i need an ipo time frame to loop when a key is pressed until it is told to do something else.
I have the actuator set to ipo loop end but for this i need to hold down the key, i need to just have the key pressed once and for it to loop until another key is pressed when it will do a different loop.
i have not yet used expressions or python as controllers but i assume this is where to solve the problem, any advice?
if the key is pressed a property is set to 1.
the make the animation play only id the property is on one.
if the other key is pressed then the property is set to 2 and then set a different animation to only play if the property is set to 2.
if i understood properly than that should solve your problem.
what you suggested is helpful for part of my project but i think it will still only play the loop once, rather than looping endlessly while the property is set to 1 for example which is what i need.
i’m also not sure on how to go about this, do i need a python script as an actuator for this loop. or do i need to set this property seperately, and then have the loop check this insted of the keyboard?
if so you will have to set the play to loop stop or loop end.
just pm with me your e-mail adress you don’t get it and i will send you an example .blend.
(might take two days, i’m going on a holiday till friday).