Save custom variables (non quest)
Posted: Thu Jul 21, 2016 12:27 pm
For example I use this code. But it works only when Quest state.
What about non quests? How I can save custom variable and use it everywhere and everytime before character will be switch in offline state.
Thanks.
Code: Select all
if ((qs.get("somevar") == null) || (qs.get("somevar") == "off"))
{
qs.set("somevar", "on");
}
Thanks.