|
Anyone any idea if its possible?
I want to create 5 different dialogs from rollouts.
Each dialog should have a unique name so I can do things to those later on.
I don’t know how to dynamically assign names to rollouts and dialogs for this to be possible:
Name="Title"
for i=1 to 5 do
(
rollout (Name+i) “Title “+(i as string)
createDialog (Name+i) width:100 height:100
)
Thanks for any help,
Davy
MDO, when nature calls
|
|
|
|
Look up the rolloutCreator functions. This might be what you are looking for.
Davy Beunckens wrote:
> Anyone any idea if its possible?
>
> I want to create 5 different dialogs from rollouts.
> Each dialog should have a unique name so I can do things to those later on.
>
> I don’t know how to dynamically assign names to rollouts and dialogs for this to be possible:
>
> Name="Title"
>
> for i=1 to 5 do
> (
> rollout (Name+i) “Title “+(i as string)
> createDialog (Name+i) width:100 height:100
> )
>
> Thanks for any help,
> Davy
> --
> http://www.emecstudios.be .com (studio)
> http://www.mantania.be .com (cartoon)
Paul Neale
PEN Productions Inc.
penproductions.ca / paulneale.com
Master Classes for Max, Mudbox and Composite
DotNet Tutorials
MX Driver Car and Trailer Rig On Sale!
|
|
|
|
Thanks Paul,
That is indeed what I was looking for. Used that before but on a single dialog. It works for multiple as well but its slow in creating if you need a few. So I thought there could be a different approach.
So I keep things grouped in just 1 dialog wich is super fast :)
Davy
MDO, when nature calls
|
|
|