get AnimIndex of another actor

I'm trying to figure out how to have an actor look at another actors animation & change its animation in accordance to what animation the other actor is currently on. I know how to do this within the same actor, just not another... 
