query_heart_beat() - query the status of an object’s heartbeat
Prototype
int query_heart_beat( object );
Returns the value with which set_heart_beat() has been called with on ‘object’. If object is not given, it defaults to the current object. If the object has no heart beat, 0 will be returned.