The nomads hook in blueprint.lua (HandleUnitWithBuildPresets) is destructive and not up to date.
To handle SACU presets for the AI we added a category with presetname to a SACU
This way we can select a specific SACU with the AI platoonformer.
Also if people report that custom AIs are not working with nomads, its because of this error.
(Platoon builder will fail with an error because its calling a NIL when asking for categories.RAMBO as example.)
The nomads hook in blueprint.lua (HandleUnitWithBuildPresets) is destructive and not up to date. To handle SACU presets for the AI we added a category with presetname to a SACU This way we can select a specific SACU with the AI platoonformer.
Also if people report that custom AIs are not working with nomads, its because of this error. (Platoon builder will fail with an error because its calling a NIL when asking for categories.RAMBO as example.)