Grimoire variable settings

The following variables and switches are available for builders to set or use in their module. The two settings at the top MUST be set in each module. The "Level" column indicates where the individual variable can/must be used: either on the module itself, an individual area, or on a creature/PC.

Level          Variable Name           Type            Value           Description module         X2_S_UD_SPELLSCRIPT     string          sg_spellhook    Name of spellhook script module         SG_L_ALWAYS_ALLOW_NPCS  int             1               evaluates to TRUE. allows NPCs to use spellhook. This is necessary for the spell turning spells to work properly.

(the following are optional switches/variables) module         SG_NO_TIMESTOP          int             0 or 1          if 1, will not allow Time Stop to be cast module         SG_USE_35_HEALHARM      int             0 or 1          if 1, will use 3.5ed version of heal/harm spells module         SG_L_DESTROY_SUMMONS    int             0 or 1          if 1, will destroy previous summons before summoning new module         SG_L_TRUESEE_FIX        int             0 or 1          if 1, will apply SeeInvisible+Ultravision instead module         SG_L_MAGIC_DEAD         int             0 or 1          if 1, no one can cast spells/use items area           SG_L_MAGIC_DEAD         int             0 or 1          same as module level, but only affects area creature       SG_L_MAGIC_DEAD         int             0 or 1          only affects particular caster, useful for trigger-areas