Socket location at given time? (c++)

Hi,

Does anyone know of a way I can get a sockets location from a montage at a given time without playing the montage on the current mesh?

Thanks,
Mike.