most of what you want to do can be done, but really only through nwnx ; i.e., you’re asking for fundamental changes to game engine behaviour. if you’re developing for a pw, this might be an option to consider [for that matter, are you?], but if this is for a single-player / single-adventure module, an nwnx-based solution would most likely be more complicated than it’s worth, both for you and for the player.
however, if you are developing for a non-persistant module, there is a solution that might work for you, although it’s definitely a kludge and it’s not very effecient. the inefficiency here probably won’t be an issue w/modern pc’s for a single-player module, but it could become a resource hog if you’re developing for a pw w/potentialy several dragon disciples online at once.
so for the kludge, you could design a mobile area-of-effect w/an on-enter script to run a simple test and the skill checks, and place it on your dragon disciple in your area on-enter scripts. you’d want to put it in the area on-enter scripts because mobile aoe’s are notoriously finicky and you’d need to verify periodically that it’s still working as it should. in addition, there’s a well-known bug on mobile aoe’s you’d have to code around [it’s possible for the creature to exit its own AOE, thus ending it], but there’s already code for this on the vault. so the basic steps would be :
- write your aoe on-enter script to do the skill checks
- write your aoe on-exit script to re-establish the aoe if the exiting creature is the pc
- create an entry for your aoe in
vfx_persistent.2da using the scripts you’ve just written
- write/update a general area on-enter script that will verify that the entering pc has the mobile aoe on it if it’s a dragon disciple. if you’ve already got per-area on-enter scripts, you could execute the new script from them.
i just realised i might be getting ahead of myself here. more questions -
- what is your coding level ? does what i’m writing here provide you w/enough info, or is it gobbledygook ?
- these dragon disciples you’ve mentioned, i’ve been assuming they’re your players, but are they npc’s ? if so, there are other [better] solutions.
- are you coding this for a pw or for a single-adventure module ?
you could give them the ‘blind fight’ feat for that if you wanted to, no ?
also, final caveat - again, i’m speaking regarding nwn diamond, not ee. there may be a better way to do what you want in ee that i’m not aware of.