Jump to content

need a script to change a globalvariable to 1


Recommended Posts

Not sure how your subject title corresponds with your subject. Not much to go on here.

 

I can tell you this, whatever script you are wanting to use to set the value of a global variable needs to have a property entry that points to the global variable.

GlobalVariable Property myGV Auto

Then later in the script inside of the function or event that you want to change the value, you would use one of the following:

myGV.SetValue(1.0)

or

myGV.SetValueInt(1)

Things to read up on:

Info on variables and properties

SetValue

SetValueInt

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...