venerasf/Venera

Allow script to set globals

Opened this issue · 0 comments

Allow script to set global variables, so another script in sequence can read content from that and take another actions.

Calling a function like the following the script could write a global var using key value format:

PushGlobal("key", "value")

Read the global may be good too:

any = GetGlobal("key")

But the global would be assigned by default to the next script if it has the var specified in VARS table.