Skip to main content

query_heart_beat

Discworld driver help

query_heart_beat

Name

query_heart_beat() - query the status of an objects heartbeat

Synopsis

int query_heart_beat( void );
int query_heart_beat( object ob );

Description

Returns the value with which set_heart_beat() has been called on `ob'. If `ob' is not given, it defaults to the current object. If the object has no heart beat, 0 will be returned.

See also

heart_beat(), set_heart_beat()