Forum Discussion
ScottNodine-109
3 months agoCommunity Member
SetVar and GetVar March 2025 Update Question
Before I update my Storyline installation to the March 18, 2025 (Build 3.98.34222.0) build, can someone tell me if SetVar and GetVar will still work?
I ask because in the Advanced Storyline support...
- 3 months ago
Hey,
I've also tried it and I didn't have to change the old version as long as it's used with getting the player first
var player = GetPlayer(); player.GetVar("name"); player.SetVar("name", value);
The new functions are working without getting the player
getVar("name"); setVar("name", value);
CharlotteHasler
3 months agoCommunity Member
Hey,
I've also tried it and I didn't have to change the old version as long as it's used with getting the player first
var player = GetPlayer();
player.GetVar("name");
player.SetVar("name", value);
The new functions are working without getting the player
getVar("name");
setVar("name", value);
ScottNodine-109
3 months agoCommunity Member
Thanks for the reply Charlotte. That eases my mind because I've always used it like:
var player = GetPlayer();
player.GetVar("name");
player.SetVar("name", value);
...so that won't break any existing courses when open/re-published in the new version (March 2025).
Much appreciated!