macroscript error

macroscript error

Anonymous
Not applicable
338 Views
1 Reply
Message 1 of 2

macroscript error

Anonymous
Not applicable
hello guys,

i am really a beginner in maxscript and i did a block of code that is composed of few functions and some block code lines, and it works well. when i converted it to a macroscript
i have to relate these functions to a button , on pressed it collects the variables from the different spinners and then run the functions then run the rest of code that has not variables.

i have an error and i do not know how to handle it and y this happens while the code works separately in a good way?!


the error reterned as >> MAXScript Rollout Handler Exception: -- No ""="" function for (%"u-"() Local:WCR01) <<

anyone can help me ?

find attachement please

thank you
maha

19756_17pahv8yrjxOrJvBw1to.zip

0 Likes
339 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
There is a stray "-" character on line 352. Removing it gets rid of the error you describe, although there is a different error after it &#40;an undefined variable&#41;. That should be an easy fix, though.

I also see you are using e as a parameter in the function first_level_Generation&#40;&#41;. e is a reserved word. This could cause problems at some point.
0 Likes