- So, about structure scope, none of globals in this script was justified, then i did it properly. The globals "f" an "p" was especialy risky!
Now these mods prevents any conflicts from BFRES importer to other scripts (the reverse depends on the other scripts).
To do this I moved the functions and globals inside the rollout block (between controls and controls event handlers)
- Also I reduced the redundant "--UV info--" part into a shorter block. I left old part in comment.
BFRES Script_R5_scope.zip (Size: 9.8 KB / Downloads: 235)
PS: "range" function has been renamed too.
Now these mods prevents any conflicts from BFRES importer to other scripts (the reverse depends on the other scripts).
To do this I moved the functions and globals inside the rollout block (between controls and controls event handlers)
- Also I reduced the redundant "--UV info--" part into a shorter block. I left old part in comment.
BFRES Script_R5_scope.zip (Size: 9.8 KB / Downloads: 235)
PS: "range" function has been renamed too.