include - reload/refresh?


#1

It seems in my macroscript, I can’t reload the included script (shared.ms) without restarting Max, which makes development slow to say the least! Is there a way around this?


macroScript ExportToGame
category:"GeorgeR"
(
	include "...\scripts\Shared.ms"

	on execute do
	(
		if $ == undefined then
			print "Nothing Selected!"
		else
		(
			for s in $ do
			(
				local o = gameExportOptions obj:s
				print o.name
				--(gameExportOptions obj:s).export()
			)
		)
	)
)


#2

It should work when you reevaluate this macroscript definition after changing the script file.


#3

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.