Page 1 of 1

In game real time progression scripts.....

PostPosted: Tue May 03, 2011 7:18 am
by silver_fox_rival
Ok I have had this scripting idea for some time now and was wondering if it was possible to create a script based upon real in-game time progressing as far as exterior buildings being built. Like say for instance, from the start of day 1, can a mesh be built in-game piece by piece until the mesh is fully completed?

Re: In game real time progression scripts.....

PostPosted: Tue May 03, 2011 8:02 am
by Jac
If you're talking about how the Great House strongholds and Raven Rock are built, then yes. Those meshes are already in the game, but are disabled until a script enables them.

Re: In game real time progression scripts.....

PostPosted: Tue May 03, 2011 9:04 am
by Fliggerty
Oh absolutely.  That's basically how the stronghold scripts work.  You go away for a day, come back and see that new statics have been placed.

Essentially you place every static (actually have to use misc since statics can't have scripts attached.)  Then you put a script on each that disabled it until a specific global variable is set.  A global timer script that starts when your project begins will then toggle the appropriate global variable at the given interval.