ops Posted April 14 Posted April 14 Encountered major 2 problems when trying to use the save feature with dynamic spawns 1) Dynamic spawned clients get saved as Rookie NPC Expected: don't save dynamic clients at all, they should dynamic spawn again in the saved mission. Cause: currently all alive units get saved Proposed fix: do not save units with ID >= 1000000 (in me_exportToMiz.lua, parseDebriefing) 2) NPC spawned via coalition.addGroup lose their unit and group names Expected: unit and group names are retained (needed for scripting, and to not have "vehicle1" for a soldier) Cause: the miz export combines debriefing.lua with the mission file, as units are not present in mission, and names missing in debriefing.lua, generic names are used Proposed fix: add unit and group names to the debriefing.lua
Recommended Posts