4. Abraxas, what do you mean change treasure tables on the fly? And how?
You can fill in loot tables/trader tables in the sidebar of characters ('Treasure'). The names (and the table content) can be found in TreasureTable.txt (Divinity Original Sin Enhanced Edition\Data\Editor\Templates\Stats\Shared\Generated). Much information can only be found (and changed) outside the editor.
Character and item scripts allow to add and remove such treasure tables:
CharacterClearTreasureTables(CHARACTER:character) -->clears all treasure tables of the character
CharacterAddTreasureTable(CHARACTER:character, FIXEDSTRING:treasureTable) --> adds a certain treasure table to the character: the fixedstring contains the table name from TreasureTable.txt
CharacterRemoveTreasureTable(CHARACTER:character, FIXEDSTRING:treasureTable) --> removes a certain treasure table from the character
But it would be good to start a new thread for questions and to learn the systems step by step by watching/reading the tutorials first, as Sniper suggested.
The only introduction in character scripting I know of is from Zoltan:
http://larian.com/forums/ubbthreads.php?ubb=showflat&Number=563932Sniper wrote a specific guide how to use the state manager (but that's for later):
http://larian.com/forums/ubbthreads.php?ubb=showflat&Number=567495They were written for Classic Version but they should be still valid.