Small nitpick: it's better to use https://docs.larian.game/Osiris/API/TemporaryCharacterCreateAtPosition in this case to avoid increasing the savegame size.