I want to force the main PC out of Detect Mode. This script, while detecting the mode is on, does not stop it. Anyone know how to do it? The same line of code works for Stealth if I test with that instead (without the condition check).
That’s what the GetDetectMode does I believe. It checks if the activation is “passive”, and so ignores any attempt to disable it, because it cannot. In my test, I am using a dwarf whose activation is manual and I cannot seem to be able to turn the activation off. The GetDetectMode recognises it as an active activation that can be turned off, but I simply cannot do it for some reason. It just appears to ignore the code.
Goodness me, I thought it was going to be so easy as well …
If you never found an answer, that makes me shudder … I may try/look again a little later then, after I sort out this other issue I am working on, which I don’t think I am having much success with either … but I won’t waste much time on it if you had no joy.
note that I couldn’t turn off Tracking either – and that both Tracking and Detect have feats that (if found) disallow turning them off … something borky methinks :\