Start Info Community Spielen
 
 

Morgengrauner Dokumentation

Dateipfad: /home/mud/mudlib/doc/efun/configure_object

SYNOPSIS
        #include 

        void configure_object(object ob, int what, mixed data)

DESCRIPTION
        Sets the option  to the value  on the object 
        or the default for all interactives if  is 0.

        If the first argument  is not this_object(), the privilege
        violation ("configure_object", this_object(), ob, what, data)
        occurs.

        As , the following arguments are accepted:

         == OC_COMMANDS_ENABLED
          Sets whether  can use commands normally accessible to
          users (1) or not (0). This also marks the object as "living".

         == OC_HEART_BEAT
          Enables (1) or disables (0) the heart beat for . The
          driver will apply the lfun heart_beat() to the  every
          __HEARTBEAT_INTERVAL__ seconds, if it is enabled.
          A shadow over the heart_beat() lfun will be ignored.

          If the heart beat is not needed for the moment, then do disable
          it. This will reduce system overhead.

          Note that heart_beat()s are called only if there are enabled
          via configuer_driver(DC_ENABLE_HEART_BEATS), which is the
          default.

         == OC_EUID
          Set effective uid to .  must be a string or 0.
          This call will always trigger a privilege violation check,
          even if  is this_object().

          If strict euid usage is enforced, objects with euid 0 cannot
          load or clone other objects or do any file operations.


        The current values for these options can be queried using
        object_info().

HISTORY
        Introduced in LDMud 3.5.0.

SEE ALSO
        object_info(E), configure_interactive(E), configure_driver(E)


zurück zur Übersicht

YOUTUBE | FACEBOOK | TWITTER | DISCORD | FEEDBACK | IMPRESSUM | DATENSCHUTZ 1992–2023 © MorgenGrauen.