FAForever / nomads

This project is about bringing Nomads back as playable faction via featured mod and make a serious attempt to integrate them into the main game.
12 stars 26 forks source link

Fix for SACU presets category in blueprint.lua #626

Closed Uveso closed 3 years ago

Uveso commented 3 years ago

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.)