This is an old revision of the document!
Table of Contents
How are library imports synchronized?
It does not get more technical than this I guess.
But its good to have this documented.
When you load a library in the Simple editor (or in the troopType editor or the officer editor) specific data is read from the library, depending on what kind of library it is. See another article here.
However how does the engine decide if a piece of data in your scenario will have to be replaced or if a piece has to be added?
Substituting a library?
First of all. If you reload a library you should make sure you are substituting an existing library.
If you do not substitute a 2nd copy of the library will be added and no replacements of data will take place.
If you do substitute the paragraphs below will explain how will be decided if it concerns a data replacement or addition.
Condition for all below is that the current library of the data instance is equal to the one you are subtituting.
SFType
IF Library ID# of scenario SFType == ID# of the SFType in the library
Reinforcement Types
IF Library ID# of scenario ReinfType == ID# of the ReinfType in the library AND IF scenario ReinfType Name == ReinfTypeName in the library
NB: Keep in mind it is not possible for TroopTypes from different TroopTypes libraries to share the same ReinfType.
