Hello K-UDA, try this: list = listv.GetList(); list.addhead(new r3Root(R3RA_Name, "Thursday")); list.addhead(new r3Root(R3RA_Name, "Friday")); list.addhead(new r3Root(R3RA_Name, "Saturday")); R3Do(listv.r3obj, R3RM_SET, [R3GLVA_List, list, R3TID_LIST, R3TNF_ARRAY]);
I added it to the checkbox hook, seems to work. I don't really know why the SetList doesn't work. Probably something to do with R3Set. By the way your curve tool script is looking impressive. :) -Juha K-UDA kirjoitti: > Hello List. > I added the following codes to the 47th line of > \scripting\Intro\gadgets.js. > > list.addhead(new r3Root(R3RA_Name, "Thursday")); > list.addhead(new r3Root(R3RA_Name, "Friday")); > list.addhead(new r3Root(R3RA_Name, "Saturday")); > listv.SetList(list); > > And I run the script. > However, I got the following error message. >> r3mainw.c/8013: D:/Realsoft/Realsoft3D/scripts/js/oops/r3listv.js:38: >> Invalid parameter 3, array expected > > Can anyone solve this problem? > Best regards, > K-UDA > >
