That ActionsTaken script is setting the custom token to a blank string. string sDeity needs to equal something. And you shouldn't need it if you are already setting the custom token in the starting conditional script. Try getting rid of the actions taken script all together and see if it helps.
If you do need to use the actions taken script though to make sure you keep the custom token refreshed for multiplayer conversation purposes or what not, then you need to keep it more like what the starting conditional is like:
void main()
{
string sDeity = GetLocalString(OBJECT_SELF,"sDeity");
if (sDeity=="") sDeity = "Good Fortune";
SetCustomToken(30300, sDeity);
}
Modifié par GhostOfGod, 21 août 2011 - 10:32 .