I made some additions to my script (nothing big or unusual, just another column to my infoboard), and now when I start my map I get "Script load failed: invalid address". How can i fix it?
Ok, it seems to lie in setting an integer constant directly to the value of another integer constant when the first integer constant requires calculation, e.g:
So if you do something like change MyVariable2 to be (MyVariable1 * 1) then that will force it to "calculate" the value in InitGlobals after it assigns MyVariable1 and there won't be a problem.
I made some additions to my script (nothing big or unusual, just another column to my infoboard), and now when I start my map I get "Script load failed: invalid address". How can i fix it?
@RCIX: Go
Can we have the map, or some code snippets?
Way too much to put up as snippets, so here's the map. *hopes no one steals it* ;)
Ok, it seems to lie in setting an integer constant directly to the value of another integer constant when the first integer constant requires calculation, e.g:
MyVariable1 = (20 + 20)<Integer (Constant)>
MyVariable2 = MyVariable1<Integer (Constant)>
This appears to be because it emits the following:
So if you do something like change MyVariable2 to be (MyVariable1 * 1) then that will force it to "calculate" the value in InitGlobals after it assigns MyVariable1 and there won't be a problem.