[Closed] code works, but fails when in a button ?
I’m in Max 7. I didn’t get an error. I’m not sure what else could be wrong here.
Try throwing in “Max Motion Mode.” Sometimes that has fixed strange errors for me.
Lata,
Stev
I just want to confirm that I’m seeing this too in Max 8. I installed SP3 to see if perhaps this was a bug that they fixed. Unfortunately I got the error in SP3 as well 🙁
Thanks for the confirmation, now I know its a bug not my crappy scripting skills.
Cheers
Dan
sx[#Object__Editable_Spline][#Master][5].controller = point3_script()
for i have never use array like this , maybe i m not right :
i will first get the index of array to a variable , and then use it : maybe like this :
(
local index_1 = ( …)– integer . sorry for i dont like use name value as array index .
local index_2= (…) – integer .
sx[index_1][index_2][5].controller = point3_script()
)