Re: [CODE] [DG] saving scripts w/obuild

From: Mark A. Heilpern (heilpern@MINDSPRING.COM)
Date: 09/21/98


At 03:27 PM 9/20/98 -0400, you wrote:
>As for triggers, check the index file in the /trg directory to see if
>the zone your refering to is listed in the index.
>If it is not listed in the index, it will never reload on any zone
>load/reload. That is one of the major problems with dg_scripts. And so
>many people do not add in the zones (let alone know they have to).

This has been addressed in what is currently pre-pl6 code.

>You also might want to check the code to see if the triggers are loaded
>when the mob is loaded. Should be a line like:
>        load_mtrigger(mob);
>in db.c

That function doesn't load the triggers for a mob, it checks for, and if
found, executes, the LOAD trigger for that mob. A load trigger might
be used to, for example, initialize global variables in the script.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST