sen4mi Posted December 7, 2024 Posted December 7, 2024 I would like to make a mod to fix the long range surprise glitch in the current BG3 implementation. I think this means using Norbyte's script extender, and I think I want to make an automated "sneak" roll when a sneak attack is successful and I am too far away from the enemy, for the enemy to see me. The problem, of course, is figuring out how to make this happen, from inside the scripting language: (1) I think I need to wait until after the enemy has had time to spot my character, but (2) I think I need to implement the sneak attempt for my character before the enemy has a chance to move. My problems include: (A) I do not know how to get a list of UUIDs of active enemies, and (B) I do not understand the event structure well enough to know when to make the sneak attempt., and (C) Depending on what's available, I might need to do some bookkeeping so I do the right thing and don't screw things up. So... does anyone know of any good docs on BG3 scripting? (I've taken a look at https://github.com/Norbyte/bg3se/blob/main/Docs/API.md of course, but if you think I've overlooked a relevant part of that doc, please give me a clue about what you think I've overlooked.)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now