Keep browsing through the larian documents and community documents. It might give you some notion on how to script stuff:
https://docs.larian.game/Scripting
https://docs.larian.game/Scripting_in_New_Talents,_Attributes,_and_Combat_Abilities
https://docs.larian.game/Character_and_Item_Script_Triggers,_Calls,_and_Queries

Another useful thing I've been doing is unpacking other complete mods and comparing their scripts with the base game, learning how the mods change the game. Usually the mod scripts are based on Shared.pak's scripts