I'm trying to wrap my head around this. Is there any chance you could provide some templates for the listeners? I think if I could see listener examples that look like the current Paladin Oaths I could get a better idea of how to use this.
Sure thing! There's already one on the Github Wiki's Breaking/Redeeming an Oath section for Giving the Hag Mercy, but I'll add a few others as I go through the goals files
LL's Reference Scripts for the Osi and Osi.Events have the majority of functions that can be listened for, and I'll have a doc up soonish on some of the deeper things like Databases and Procedures that can be listened for as well.
For flags in particular, Shared, SharedDev, Gustav, and GustavDev all have flags folders filled to the brim, and I'm currently working on an effort to index them all into Community Library for easier access/understanding.
#bg3-mods-scripting channel will also have a lot of good advice, since much of what's needed will just be general SE usage
Would this work on vanilla subclasses as well? For example, making "cure the Shadow Curse" a redemption moment for Ancients, or "save the Ironhand gnomes" for Devotion?
12 comments
Does Gustav\Public\Gustav\Flags contain all the possible things you can listen for or is there more to it?
For flags in particular, Shared, SharedDev, Gustav, and GustavDev all have flags folders filled to the brim, and I'm currently working on an effort to index them all into Community Library for easier access/understanding.
#bg3-mods-scripting channel will also have a lot of good advice, since much of what's needed will just be general SE usage