Hi,
I have two rollout.
I want to close them. So I use :
if (RF.dialogBar == true) do
(
cui.UnRegisterDialogBar RF
closeRolloutFloater RF
)
if (RFB.dialogBar == true) do
(
cui.UnRegisterDialogBar RFB
closeRolloutFloater RFB
)
It works when I use script, but not with macroscript.
Any idea ? Thanks.
Comments (3)
Comment policy
.
You can make a single global struct that holds information about all of your rollout floaters defined in various scripts
and then you can access all of them using single global variable
example:
I jahman, thanks for your answer. Let me just 2 months to undestand what you mean... :-)
oookey...I manage to do it
oookey...
I manage to do it :
Rollout declared as global.
And made a macroscript to run my script (as for .mse).
It works. If anybody can explain I would be happy ! :-)
I add to my script "try" and "catch" because if one (or both) rollout isn't active I got error.