Thanks! Do you have a link to where I can learn more about what functions are available and what types of scripts I need to use for different goals? Or has the wiki not gotten that fleshed out yet?
Edit: Answered my own question:
https://docs.larian.game/Osiris For item/char/gameScripts there is also this list: https://docs.larian.game/Character_and_Item_Script_Triggers,_Calls,_and_Queries
And you can type for example "On" in the scripting editor and it will suggest you all possible functions. If you select one and then type ( you get a hover window with the parameters and a short description about the function.
Not quite as good, but also usable: in the story editor you can type for example "trigger" and then cmd+space and it will show you a list of suggested functions/values etc.