GlobalVar on Crane
Posted: Saturday 31 May, 2014 - 11:47
Hello,
I have a problem regarding a portal crane:
I use a global variable for the send-to-function on a portal crane-atom. This works fine, but when I open the model, I always get the error message "Compile error: "GlobalVarName" is not a valid expression. Reference: ... ".
I think that the reason for this message is, that the globalvar is defined on trigger-on creation a Source-Atom. In the model-tree, the crane is on a higher position than the source-atom and therefore, I guess, is loaded earlier. I tried to move the crane down in the model tree, but every time I open the model again, it is again on top.
So, is there a way to move the crane down in the model tree=
Or should I define my globalvar on a different atom?
Thanks in advance for yout help!!
Best regards
John
I have a problem regarding a portal crane:
I use a global variable for the send-to-function on a portal crane-atom. This works fine, but when I open the model, I always get the error message "Compile error: "GlobalVarName" is not a valid expression. Reference: ... ".
I think that the reason for this message is, that the globalvar is defined on trigger-on creation a Source-Atom. In the model-tree, the crane is on a higher position than the source-atom and therefore, I guess, is loaded earlier. I tried to move the crane down in the model tree, but every time I open the model again, it is again on top.
So, is there a way to move the crane down in the model tree=
Or should I define my globalvar on a different atom?
Thanks in advance for yout help!!
Best regards
John