Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the difference between local and global variables in relation to the Toolset and Campaigns?

0
Posted

What is the difference between local and global variables in relation to the Toolset and Campaigns?

0

A campaign may contain many modules. Global variables give you a way to store/access data throughout the campaign. You do not have to use the “SaveGlobalVariables” and “LoadGlobalVariables” functions every time you want to exit, enter, or re-enter an area. The globals persist throughout the campaign and are always accessible. The variables are stored in an xml file called globals.xml. Very handy for inspecting values (and editing I suppose). There aren’t script commands for transferring/accessing the variables in this file outside the scope of the campaign.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123