get/set CurrentFrame for ipo actuator?

Hi,
Just a fast though, would be nice if we can get/set the current frame value under runtime when the the ipo actuator is playing. Why?. You can check easily and be sure if the animation is finished or not. i.e. for door open/close state.
i.e.
at 1 frame opened door
at 10 frame is closed door
this way you cant write a complicated script with ipo FrameProp option and simulate the Ping Pong animation. etc.etc.

“get frame” is already possible, just assign a Frame Property in the IPO logic brick and test it.
“set frame” is a bit trickier, there is a .set(mode,startframe,endframe,force) for ipo actuators, link, where you can switch between play and property. Haven’t tried it but it looks like it will work. I agree that these methods are far from ideal. Hopefully 2.5 will sort it out a bit, the api clean up includes making more stuff available to python.

Thanks for the tip, i will try it :wink:

you can count on that, we will have a property called ‘frame’ for that

If I wasn’t an atheist I’d say thank god! Now I will just settle with thank you.