I have dialogue in Greeting 9 that I need to update a global variable to 1. The filters are simple, the greeting occurs when wanted, the "goodbye" in the results box appears and works, but the line above goodbye "set NDPunish to 1" does not increase the value of the variable. I have this same variable change done in the same way in topics several times, and they all work perfectly. I even used copy/paste taking one that worked, and still nothing. There is no script or other dialogue where the variable can be getting reset to 0.
There are only four filters in play:
faction
Cell,
function PCClothingModifier
global (not "NDPunish"
The results box looks like this:
set NDPunish to 1
Goodbye
Any ideas?