Notifications
Clear all
[Closed] Rollout Error
Sep 04, 2009 10:58 am
I am getting a runtime error for rollout floater for the first time the script is run. Otherwise after compiling it twice the error is gone. Can anyone give me any suggestion.
>> MAXScript Rollout Handler Exception: – No ““get”” function for undefined <<
2 Replies
Sep 04, 2009 10:58 am
This will happen if you have called a function before declaring it in the script. The first time u compile the function is called and then declared so you get an error, the second time compiled it is already declared so no error. So just write the function before calling it.
Sep 04, 2009 10:58 am
ok thanks, I found the bug, its that execute function it takes global scope and local variables are not taken