Editor script functions

Post new scenarios and mods here to share with other gamers.

Moderator: Joel Billings

Post Reply
Teo41_ITA
Posts: 511
Joined: Thu Sep 02, 2021 12:45 pm

Editor script functions

Post by Teo41_ITA »

I was just wondering, what are the load/clear/disabe script functions used for?
Editor script.png
Editor script.png (98.15 KiB) Viewed 541 times
DarkHorse2
Posts: 1070
Joined: Fri Feb 04, 2022 12:08 pm

Re: Editor script functions

Post by DarkHorse2 »

That is a set of functions I never felt were properly publicly documented enough to use.

Almost as if they were only usable internally by devs.

One thing that struck me odd about it was there did not seem to be a way to SAVE or EXPORT a recorded script.... unlike the GAME EVENT EDITOR.

There are some aspects of the editor that appear somewhat fragile and unfinished. I would classify the scripting functions as one of them.
Karri
Posts: 1218
Joined: Wed May 24, 2006 4:09 pm
Contact:

Re: Editor script functions

Post by Karri »

This is for the first turn movements. It's somewhere in the manual, but basically you play the first turn moves, recording the "script" and then update it to the scenario, and it's what the AI will try to use.
Post Reply

Return to “Scenario Design and Modding”