access animation frame on another object

I am trying to access the frame of an animation on an armature from a script on a different object. I want my sword object to know what frame of a sword swinging animation is being played. I know how to access a frame of an animation, but I don’t know how to use it in a script on another object.

you just have to access the other actuator from python, since the gameObjects now give access to ob.actuators/ob.sensors, this isnt hard.

Thanks ideasman. I’ll see if I can get it working.

You could also copy the frame number to a property and get it from there.