----------------------------------------------------------骨骼动画
for t = animationrange.start to animationrange.end do
(
at time t current_pos = selection.center
at time (t-lf) last_pos = selection.center
frame_speed = (distance current_pos last_pos)*FrameRate
average_speed += frame_speed
format "Frame %: %\n" t frame_speed to:output_file
)
-----------------------------------------------------------自带压缩函数
maz <filename>archiveFile <filename or filename array>input
The first parameter is the filename of the archive to create. The second parameter is either a single filename, or an array of filenames, to be archived.
unmaz <filename>archiveFile <string>outputDir
The first parameter is the filename of the maz archive to extract from. The second parameter is a directory name where all the files in the archive will be extracted.
---------------------------------------------------------