Now I have these lines in the OnLoadModule script:
of course, I guess it only works when a PC speaks? The variables are made, but they can only have the value 0 in this way it seems. When I added a variable with the value 9, it had the value 0 in the game.object oPC= GetPCSpeaker();
SetLocalInt(oPC, "bookquest", 0);
SetLocalInt(oPC, "water", 0);
so what can I do about that?
I tried some other things instead GetPCSpeaker() but it doesnt work.