pete
09-30-2004, 07:41 AM
Hi there,
Just wondering if anyone could help out, we are having a little trouble getting a script to work as a macroscript. It seems to work fine if it is used as a standard script (.ms style) but when it is turned into a macroscript it starts screwing up?? It seems as though the callback can't access the "main.autotransform...", but like i said it works fine as a standard script.
nrf = newrolloutfloater "Naff Animation Toolz" 200 60
global setCallbacks, delCallbacks, autoTransform
rollout main "Tools"
(
fn setCallbacks = (callbacks.addScript #selectionSetChanged "main.autoTransform selection" id:#autoTransform)
If anyone could help out it would be much appreciated
Thanks,
Pete
Just wondering if anyone could help out, we are having a little trouble getting a script to work as a macroscript. It seems to work fine if it is used as a standard script (.ms style) but when it is turned into a macroscript it starts screwing up?? It seems as though the callback can't access the "main.autotransform...", but like i said it works fine as a standard script.
nrf = newrolloutfloater "Naff Animation Toolz" 200 60
global setCallbacks, delCallbacks, autoTransform
rollout main "Tools"
(
fn setCallbacks = (callbacks.addScript #selectionSetChanged "main.autoTransform selection" id:#autoTransform)
If anyone could help out it would be much appreciated
Thanks,
Pete
