Page 1 of 1

Scenario battlescript, what functions can be called?

Posted: Thu Nov 25, 2010 1:48 am
by Garnier
I tried to call the dumpgamedb, dumplocs and dumpdead functions in a scenario's battlescript.csv file, like so:

11:59:59,,dumpgamedb
11:59:59,,dumplocs
11:59:59,,dumpdead

But that time came and no files were created. Any ideas of a way to do this?

The intent is to automatically dump the gamedb before the scenario ends.

Re: Scenario battlescript, what functions can be called?

Posted: Fri Dec 10, 2010 12:17 am
by Little Powell
I tried to call the dumpgamedb, dumplocs and dumpdead functions in a scenario's battlescript.csv file, like so:

11:59:59,,dumpgamedb
11:59:59,,dumplocs
11:59:59,,dumpdead

But that time came and no files were created. Any ideas of a way to do this?

The intent is to automatically dump the gamedb before the scenario ends.
FYI Garnier - These commands won't work in the scenario scripts at this time. A report has been submitted though.

Re: Scenario battlescript, what functions can be called?

Posted: Fri Dec 10, 2010 12:19 am
by Garnier
Are there any that will work in multiplayer scenario battlescripts? And if so is there any info on which ones will work?

Thanks

Re: Scenario battlescript, what functions can be called?

Posted: Fri Dec 10, 2010 1:17 am
by ADukes
MP doesn't support scripts.

Re: Scenario battlescript, what functions can be called?

Posted: Fri Dec 10, 2010 1:18 am
by Garnier
Ok.

Re: Scenario battlescript, what functions can be called?

Posted: Tue Dec 14, 2010 8:57 pm
by Garnier
Actually that's not quite true, because I use the command "12:00:00,,endscenario" to end the battle, and that works in MP. So perhaps that isn't the only command that works in MP.

Re: Scenario battlescript, what functions can be called?

Posted: Tue Dec 14, 2010 9:08 pm
by Little Powell
Actually that's not quite true, because I use the command "12:00:00,,endscenario" to end the battle, and that works in MP. So perhaps that isn't the only command that works in MP.
You're probably right. I guess the phrase doesn't support should be underlined. Who knows what else will work in a script but use at your own risk.. ;)

I remember in early testing, we tried to play a fully scripted scenario in MP... The game engine basically said NOPE... :laugh: