Notifications
Clear all

[Closed] include – reload/refresh?

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()
			)
		)
	)
)

1 Reply

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