Jump to content

Using hide static object to simulate stopped train start to go in Normandy 1944


Recommended Posts

Posted

Question:

 

I really want a train to be stopped at a station, and then to start later. Can't seem to get a Normandy train to stop, and read on a forum that it was not possible.

 

So I was thinking build a train using static objects, set time flags and late activation for the real train. Hide static object and active live train in its place. Might be hard to line up, but hoping would work.

 

Do we have a script handy to hide static objects?

 

Thanks,

Posted

Thanks. I saw the destroy function but assumed it would leave a dead object in its place.

 

 

 

I planned to test the late activation today. I will report back if it works.

Posted (edited)

Late activation seems to be working fine. Pops in after 10 seconds from a dead stop and then picks up speed as it goes. Awesome sauce!

 

 

Edit: Cool. The whole thing works. Too bad about the workaround, but we can have a train sitting at the station now and have it start any time we want.

Edited by Anklebiter
  • 1 year later...
Posted
Question:

I really want a train to be stopped at a station, and then to start later. Can't seem to get a Normandy train to stop, and read on a forum that it was not possible.

So I was thinking build a train using static objects, set time flags and late activation for the real train. Hide static object and active live train in its place. Might be hard to line up, but hoping would work.

Do we have a script handy to hide static objects? Thanks,

 

To answer you question and to leave information for other mission builders:

You may use

StaticObject.getByName('myStaticObject'):destroy()

 

Works like a charm.

Visit https://www.viggen.training
...Viggen... what more can you ask for?

my computer:
AMD Ryzen 5600G 4.4 GHz | NVIDIA RTX 3080 10GB | 32 GB 3.2 GHz DDR4 DUAL | SSD 980 256 GB SYS + SSD 2TB DCS | TM Warthog Stick + Throttle + TRP | Rift CV1

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...