Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: electricism on 2022-10-16, 13:02:59
-
Hi all,
Looking for some help with the Corona Select Material & Select Map.
I have a project where I need to animate between the material slots of corona select Materials & Maps. I know the only way to select a material slot over 25 is by using the maxscript:
rootScene[#SME][#View1][#MatName____CoronaSelect].SMENodeAttr.reference.selected = 0
Is there a way of changing this script so that it uses the currently selected Corona Select Mtl/Map so that you don't have to manually change the material name each time? I'd also like to be able to change the selected slot number by way of a dialog box rather than in the maxscript listener/editior.
So far I have tried to use this to inject the currently selected material but not having much luck:
sme.GetMtlInParamEditor()
I realise I probably haven't explained it too well but I will try and answer questions quickly. Thanks!
-
Hi,
not sure if you need to use Maxscript here at all. You can use a controller to select the map/material slot and animate the controller.
Good Luck
-
Magnificent - thanks!