
I am trying to make an api command that lets players move their page view as they want. It looks like I am doing everything correctly. Log() even shows that that playerspecificplages is changing correctly. However, players are reporting that their view is not updating. I have tried it myself and it does not work. I have tried looking online and through the forums, but I have not found anything. Here is the key excerpt from my code. Is there something that I could be forgetting? //get the player pages object var playerPages = Campaign().get("playerspecificpages"); log(playerPages);
//if there are no exceptions yet, get ready to make an exception if(!playerPages){ playerPages = {}; } //update the page for the current player playerPages[msg.playerid] = Pages[0].id; //save your changes Campaign().set("playerspecificpages",playerPages); //tell the player that it worked
sendChat("System","/w " + msg.who + " Viewing " + input[1] + "."); log(Campaign().get("playerspecificpages"));