Author |
Message |
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: How, oh how, do we make our missions invisible?
Try fiddling with the arguments to ActivityMan:StartActivity. Probably the third argument could be an optional scene argument.
|
Thu Dec 30, 2010 12:50 am |
|
|
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
Re: How, oh how, do we make our missions invisible?
That's what I was looking for. I'll see if it works.
|
Thu Dec 30, 2010 12:52 am |
|
|
TheLastBanana
DRL Developer
Joined: Wed Dec 13, 2006 5:27 am Posts: 3138 Location: A little south and a lot west of Moscow
|
Re: How, oh how, do we make our missions invisible?
Again, make a big list of activities. They should all have the same script path, but each one should specify a different default theme and have a different name.
|
Thu Dec 30, 2010 12:59 am |
|
|
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
Re: How, oh how, do we make our missions invisible?
But then they all appear on the scenario menu. This is the conundrum.
|
Thu Dec 30, 2010 1:09 am |
|
|
TheLastBanana
DRL Developer
Joined: Wed Dec 13, 2006 5:27 am Posts: 3138 Location: A little south and a lot west of Moscow
|
Re: How, oh how, do we make our missions invisible?
...I'm not sure why I didn't think of that. As I recall, that third argument is what you need, so give it a try.
|
Thu Dec 30, 2010 1:16 am |
|
|
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
Re: How, oh how, do we make our missions invisible?
Rodger that. We'll see how we go.
|
Thu Dec 30, 2010 1:17 am |
|
|
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
Re: How, oh how, do we make our missions invisible?
There is no third argument. So, that throws that idea aside.
|
Thu Dec 30, 2010 1:51 am |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: How, oh how, do we make our missions invisible?
Hmm. Maybe there is a hidden function/variable to set it. Or maybe it's not bound to the interface at all.
|
Thu Dec 30, 2010 1:55 am |
|
|
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
Re: How, oh how, do we make our missions invisible?
So we wait for B25 for the scenario toggle?
|
Thu Dec 30, 2010 2:08 am |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: How, oh how, do we make our missions invisible?
Or ask data.
|
Thu Dec 30, 2010 2:17 am |
|
|
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
Re: How, oh how, do we make our missions invisible?
TLB, I know you've been watching, could you ask him?
|
Thu Dec 30, 2010 2:21 am |
|
|
TheLastBanana
DRL Developer
Joined: Wed Dec 13, 2006 5:27 am Posts: 3138 Location: A little south and a lot west of Moscow
|
Re: How, oh how, do we make our missions invisible?
I didn't ask him yet, but I just ran a test and SceneMan:LoadScene seems to work. Not sure what the second argument is, but make sure you load the activity before you load the scene, because otherwise it crashes.
|
Thu Dec 30, 2010 2:24 am |
|
|
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
Re: How, oh how, do we make our missions invisible?
I'll have to try that tomorrow, it's getting late. Will update to tell you how it goes.
|
Thu Dec 30, 2010 2:38 am |
|
|
weegee
DRL Developer
Joined: Thu Jun 11, 2009 2:34 pm Posts: 966 Location: Moscow, Russia
|
Re: How, oh how, do we make our missions invisible?
Trying to make a tutorial mission about all of this and encountered one problem. After I've loaded a scene inside my MissionLauncher activity and replace activity functions with dofile actors are not added when activity is initialized, but initialization function runs and without any errors. Enumeration actors don't give a single actor.
UPD:
Figured that out, case closed.
|
Fri Jan 14, 2011 10:22 pm |
|
|
|