Dokumentation zu: remove_action(E)

HR Image


SYNOPSIS
        int remove_action(int|string verb)
        int remove_action(int|string verb, object ob)

DESCRIPTION
        If <verb> is a string: remove the first action defined by the current
        object with the given <verb> from <ob> (default is this_player()).
        Return 1 if the action was found and removed, and 0 else.

        If <verb> is a number: if non-0, remove all actions defined by
        the current object from <ob> (default is this_player()).
        Return the number of actions removed.

HISTORY
        Introduced in 3.2.1.
        LDMud 3.2.10 added the ability to remove all actions.

SEE ALSO
        add_action(E), move_object(E)

Die Seite ist auch in Deutsch vorhanden.

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