Skip to main content

set_reset

Discworld driver help

set_reset

Name

set_reset() - modify the time until reset of an object

Synopsis

varargs void set_reset( object ob, int time );

Description

Sets the time until reset on `ob' to `time' seconds from now. If `time' is omitted, the driver's normal reset time setting formula is applied to `ob', that is:

reset time = current_time + reset_time / 2 + random(reset_time / 2)

See also

reset()