Hello
I have a Problem
i create a variable in a scritp.
and now i wonna chang it in a other java script
how can i do that
MFG RaverGames
Hello
I have a Problem
i create a variable in a scritp.
and now i wonna chang it in a other java script
how can i do that
MFG RaverGames
set the variable to be Static, then it can be accessed and altered from external scripts. Something like this:
static var myVar:boolean = false;
then, in the other script, write something like:
nameOfOtherScript.myVar = true;
How this works depends on context, but that’s the basic idea
Thanks
you help me very much
RaverGames!