This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

Scripting variable

the variable used inside the script is GLOBAL ?

is possible use ALM1 in script 1 and ALM1 in script 2

when i try to make some sum I have this error  
attempt to perform arithmetic on global 'ALM1' (a nil value)

But I make an addiction ALM1+ALM2 , if possible I have ALM1=0 and ALM2 =0

Thank's in adavantage
Variables in script are local. To use values between scripts you can use object or save data to storage.

Forum Jump: