- Edited
So here's my structure.
In script 1 I have variables X In script 2 I have preloaded script 1 and thus variables X In script 3 I extend script 2
The problem is, in script 3, I cannot preload script 1 since it will throw a cyclical error. But I still need the variables from script 1 for the functions in script 3. Otherwise I get the error "Identifier isn't declared in the current scope".
How do I solve this?