Hello Kirupa-clan
Yeah itās me againā¦:sigh:
ok down to the problem.
the thing is that i have a global var on the main line āGvarāā¦so far good ?
next thereās a Mc that is supposed to change a variable called āParentVarā
butā¦ the ParentVar is not defined within the Mc but rather itās passed to it
by :
OnClipEvent(load) {
ParentVar = _global.Gvar
//the global variable is passed to the Mc
}
hereās the problem :
now once the global variable is passed down, at some point in the mc
i want the Mc to change āItāsā ParentVar witch in this case is _global.Gvar eg. (ParentVar = āHELLOā) and that should change _global.Gvar problem is that this will only change the parentVar and not the global var, I know the above code is logicly wrong, so iām asking is there another way around ?
the only reason iām doing this way is that i want to have mutiple MCās that changes Mutiple Globals while using single Mc instance copies.
is it possible ?
Please reply soon, thank you in advance.:ne:
ā¦