s@frameNum= sprintf('%04d',clamp((@Frame-1000),0,68));
//s@name = sprintf('%04d',@Frame);
s@textureFile=chs("part1")+@frameNum+chs("end");
slight update on zero padding in vex...
use sprintf to reformat numbers..
s@frameNum= sprintf('%04d',clamp((@Frame-1000),0,68));
//s@name = sprintf('%04d',@Frame);
s@textureFile=chs("part1")+@frameNum+chs("end");
slight update on zero padding in vex...
use sprintf to reformat numbers..
padding file names and clamping at the same time -
`padzero(7,clamp($F4,1091,1256))`
Think I've shown this snippet before, but maybe not combo'd with the clamp. Remember to use the back ticks to evaluate the expression when using it in a file name...And use all relevant brackets