I've been mucking about with the Operation Solstice Rain combats to get used to the mission editor and I hit a bit of a snag with the third mission, Downpour.
In the mission, there's are two consoles--one that can remove one of four freight cars/containers from the map via a crane, and one that rotates a turntable in the center of the map.
Currently the closest I've been able to get goes something like this:
- The first console triggers a dialog with 4 options. Each option:
- Makes units in the container zones Invulnerable until damaged.
- Damages the zone enough to destroy 1 layer of terrain
- Repeats A and B twice to get down to ground leve
- Sets combat state variables so the option can't be chosen twice
- Creates a new action triggering the same dialog if there's at least one more choice that can be made.
- The second console just blows up the train car on the turntable in a similar manner as the above.
I ran into three main issues.
The first is over-destroying terrain. If any of the terrain in the zones has been destroyed already, the script pummels further into the ground rather than maintaining the illusion of "moving" the terrain it is destroying by only destroying down the the ground level.
The second is invulnerability. I can't seem to set all units in a zone invulnerable--I can set the "first" unit in a zone invulnerable and I haven't figured out how to manipulate that the way I'd like to just make the whole zone invulnerable.
The third is placing blocks. I didn't expect to be able to actually "rotate" the platform, but using a script to place or move existing terrain blocks was something I had been hoping to do
My first question would be if I'm missing some neat trick to pull this off! My second question would be if not, would it be possible to have some kind of level/remove terrain feature in the event scripts to handle this sort of thing?
Thanks!
