Sequencer Memory

A Gibberlings Three Mod
Author: Eric Kerr (aka Cirerrek)

Version 1.3 - Check for the most recent version

Overview is a little script written by cirerrek to enable a player to remember what they have stored in their minor spell sequencers, spell sequencers, and spell triggers, after a couple of days away from the game.

The basic mechanics for this script were originally developed by Bruce Harding.

Sequencer Memory is really intended to be a plugin for existing Player AI scripts and you are welcome to add it to your own. The downloadable version of this script includes the commented .baf for your convenience.

The variables set by this script can easily be used to allow Player AI scripts to cast sequencers automatically. I don't plan on going into any details about this here, but if you are interested in this feature and are having trouble figuring out how to implement it, please contact me at

The script will NOT report the exact spells you have stored in your sequencers but it will give you a general idea of how you originally chose to target the sequencer(s). The three targeting strategies available are: Offensive, Disabling, and Defensive.

You select a targeting strategy through the use of hotkeys. The choice of keys may seem a bit odd, but they are some of the few hotkeys that were not used by the eSeries player AI scripts developed by Sarkyn and modified/continued/updated by me (cirerrek).


This mod is designed to work with BG2: Shadows of Amn with or without the expansion pack Throne of Bhaal. At present there are no known incompatibilities.


Sequencer Memory is packaged and installed with WeiDU and is distributed as a self-extracting archive. To install, simply double-click the archive and follow the instructions on screen.

Alternatively the files can be extracted from the archive using WinRAR. If properly extracted, you should have a sequencer_memory folder and Setup-sequencer_memory.exe in your BG2 folder. To install, simply double-click Setup-sequencer_memory.exe and follow the instructions on screen.

Please run Setup-sequencer_memory.exe in your BG2 folder to reinstall, uninstall or otherwise change components.

Mac OS X
If the mod was previously installed, uninstall it before extracting the new version. Sequencer Memory is packaged and installed with WeiDU. To install, simply extract the contents of the mod into your BG2 folder.  If properly extracted, you should have a sequencer_memory folder, Setup-sequencer_memory, and Setup-sequencer_memory.command in your BG2 folder. To install, simply double-click sequencer_memory-gminion.command and follow the instructions on screen.


How to select the script:

  1. Select a spellcaster in your party by left clicking on them
  2. Press R on the keyboard, which will take you to the selected characters record sheet
  3. Left Click on Customize (located towards the bottom of the record sheet)
  4. Left Click on Script
  5. Scroll through the avaible Party AI Scripts until you come to SEQUENCER-MEMORY
  6. Left click on it to select this script
  7. Click Done
  8. Click Done Again
  9. You should now be back to the record sheet. Press G on the keyboard to return to the game world.

How to utilize the script:

Press V on the keyboard This will display the current status of your sequencers (Locked or Inactive)

Inactive will be returned for one of two reasons:

Locked+Targeting Strategy will be returned if you have used SEQUENCER-MEMORY to 'record' a targeting strategy for one or more of the three types of sequencers.

How to lock a targeting strategy (Example):

  1. Have one of your wizards of the appropriate level memorize the spell Minor Spell Sequencer
  2. Make sure your wizard also has two first level offensive spells such as Magic Missile or Chromatic Orb memorized.
  3. Rest
  4. Cast Minor Spell Sequencer
  5. Select two first level offensive spells to place in the Minor Spell Sequencer
  6. Left Click Done
  7. A few seconds later, the message text "Toggle the N key to select a targeting strategy followed by the F key to confirm the strategy." will float over the character's head and also be displayed in the text box at the bottom of the game screen.
  8. Press the N key 1, 2, or 3 times depending on the targeting strategy you would like to select.
    • N Key Once - Offensive
    • N Key Twice - Disabling
    • N Key Thrice - Defensive
    A message will float over your head each time you press the N Key. The contents of the message will change depending on what type of sequencer you have cast and are trying to target. This message will also be displayed in the text box, along with the text "To change, toggle N; to confirm, press F"
  9. Since for this example we have chosen to memorize two first level offensive spells we will want to press F to lock in the targeting strategy after pressing N only once.
  10. Once F has been pressed, a message will be displayed over the character's head and in the text box. The contents of the message will change depending on what type of sequencer you have cast and are trying to lock, but whichever sequencer it is, you will see "-Locked" at the end of the message.
  11. Congratulations, you have successfully locked in the targeting strategy for the sequencer!
  12. Press V and the following messages will be displayed in the text box: Minor Spell Sequencer Locked - Offensive Spell Sequencer - Inactive Spell Trigger - Inactive
  13. Three days later when you come back to your saved game and you don't remember what you have stored in Minor Spell Sequencer, press V. You will be reminded that offensive spells are stored, and you will know not to use your sequencer on yourself or another party member ;)

This method works the same way for all three types of sequencers: Minor Spell Sequencer, Spell Sequencer, and Spell Trigger. Only the floating and text box messages will change to reflect which type of sequencer you are trying to target.

Known Issues:

The game mechanics do not allow for two sequencers of the same type to be active on any one character at at time. This means that if you already have a Spell Trigger active and try to cast another, you will be greeted by a message "You can not cast multiple instances of the same contigency spell on yourself". This message is not caused by this script.

This feature is important to this script because if you do cast any of the three types of sequencers while you already have one of that type active, the script will be activated and you will prompted to re-target that sequencer. If you do not target the sequencer exactly the same way you initially targeted the sequencer using SEQUENCER-MEMORY, the sequencer in question will then have an incorrect targeting definition assigned to it.

Contact Information

The basic mechanics for Sequencer Memory were originally developed by Bruce Harding. Eric Kerr (aka Cirerrek) is now the project author and maintains Sequencer Memory. You can visit The Gibberlings Three for information on this and any other mods on which we may be working.

Thanks and Acknowledgements

Black Isle Studios - For producing such an excellent RPG
Bioware - For the Infinity Engine and making such an outstanding RPG
Sarkyn (Greg Hodgson) - gSeries and gMinion
Göran Rimén - scripting tutorials, script segments, etc.,.
Xyx (Jochem van't Hull) - General Insight and Helpfulness
GBlucher (Gebhard Blucher) - GB-Scripts
Rich Martel - uScript
TeamBG - Editors, Tutorials, Forums
BWScripts - Defunct but not forgotten
BGScripts - Where player AI scripting really came to life
Jon Hauglid - Near Infinity and eSeries Debugging
SimDing0 - A little of this, a little of that, and all very helpful
Max (aka Potencius) - a font of information about everything Infinity Engine

Tools Used in Creation
WeiDU by Wes Weimer
Near Infinity by Jon Olav Hauglid
IESDP maintained by igi
DLTCEP by Avenger

Credits and Copyright Information

Permission is granted to use and modify the contents of this mod, as long as credit is given to Cirerrek and the original authors and support is handled by the modifying party.

Version History

Version 1.3

Version 1.2

Version 1.1

Version 1.0