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);
audreya
3 months agoCommunity Member
Hello,
You have to change the case of the function to respect the new way of naming it, otherwise it fails at least with my test.
Maybe you can open your JS file with an external file editor just to identify each occurrence.
Hope that help