View Single Post
Old 07-27-2008, 06:04 AM   #2 (permalink)
Rhino
Mod Leader
Rhino's User Activity: 0/10
159 - 8
dose any one have any info, tuts etc that may help me here on editing max scripts? Or dose any one have any idea how I could get a line of code checking a folder to see if the file existed before it rendered it? File name being done by "element.filename" (i think) and the directory to check done by "OutDir", and I think insert the check some where into this bit of code would do the trick, just before the rendering process.

Code:
	select obj
	local wasCancelled = false
	try
	(
		render rendertype:#bakeSelected frame:currentTime to:g_bf2VFB vfb:off cancelled:&wasCancelled \
			outputSize:[renderWidth , renderHeight ]
		
		-- 
	)
any help would be very much appreciated, cheers!
__________________

Project Reality Mod Lead Mapper
Rhino is offline   Reply With Quote