Notifications
Clear all

[Closed] Weird Maxscript behavior

Ok so I have a working piece of script that I built in max 2012, but I have to move it onto 2013
And I`m getting this odd error. “– No “”*”” function for undefined”
It works just fine in 2012 but not in 2013.
What change is responsible for this and how do I go about fixing this?

Here`s my script: https://dl.dropboxusercontent.com/u/88155050/bf3/Maxscripts/Bone_Maker(100%%20WORKING).ms

and here is the file I`m reading the info from : https://dl.dropboxusercontent.com/u/88155050/BF3/Maxscripts/VeniceAntSke01(3p_Skeleton).txt

thanks guys

2 Replies

so no one have any suggestions? Or is the answer so simple that no one bothers to answer it?

A quick look seems to show that there may be something up with the ‘skiptonextline’ command.

Maybe it changed in 2013, but I was hitting

'rw1xf = (trimLeft (readLine m) " xyz") as float*scaler'

as the ‘right::Vec3’ line and not the sub x line as you intended. I made a quick change to these lines, adding an extra skiptonextline

	
skiptostring m "member::LinearTransform"
skiptonextline m
skiptonextline m
skiptonextline m

and i would then hit the sub x line… so i would start debugging there.

cheers.