As a default, I have this bitset, "Dead heroes get share of exp," on. It works fine and dandy.
At the beginning of my game, you can select a Mode with this on or off. I have checked the tags in the selection process, and I know that it's going through, but the bitset is not toggling when I use this code. If I choose the mode where heroes don't get a share, they still get it when they're dead.
Code:
text(862) # Function that does showtextbox(862), waitfortextbox
if(checktag(2)==ON)
then(set dead heroes gain experience(OFF))
text(862) # Function that does showtextbox(862), waitfortextbox
if(checktag(2)==ON)
then(set dead heroes gain experience(OFF))
It might be working and then resetting after loading a save. If this is the case, I can work around that (though it's a pain). Can anyone shine some light on the situation?
My website, the home of Motrya:
http://www.jshgaming.com



