Dokumentation zu: set_next_reset(E)

HR Image


SYNOPSIS
        int set_next_reset(int delay)

DESCRIPTION
        Instruct the gamedriver to reset this object not earlier than
        in <delay> seconds. If a negative value is given as delay, the object
        will never reset (useful for blueprints). If 0 is given, the
        object's reset time is not changed.

        Result is the former delay to the objects next reset (which can be
        negative if the reset was overdue).

        Note that the actual time the reset occurs depends on when
        the object will be used after the given time delay.

EXAMPLES
        set_next_reset(15*60); // Next reset in 15 Minutes or later
        set_next_reset(0)      --> just returns the time until the
                                   next reset.

HISTORY
        Introduced in LDMud 3.2.6, adapted from Morgengrauen.

SEE ALSO

Die Seite ist auch in Deutsch vorhanden.

Start » Magierhandbuch » Docu » Efun » Set_next_reset Letzte Generierung: 25.04.2021, 01:58
Email an: mud@wl.mud.de
Valid HTML 4.01!