Summary
A small fix for CRX Enfusion A.I.
Description
A small fix for CRX Enfusion A.I.
Sometimes CRX tells a soldier to go and grab ammo or pick up gear, and it waits a moment before doing it. If that soldier dies or gets cleaned up during that short wait, CRX still tries to move him, finds nothing there and throws a script error in the server log. The server keeps running, but the error is noise and the AI behaviour is left half done.
This patch adds one check: if the soldier is already gone, it skips that step. That's it. Everything else in CRX works exactly as before.
Runs on the server, nothing for players to set up
No settings, nothing to configure
Only touches the one CRX function that causes the error
Works alongside Dynamic CRX AI
Needs CRX Enfusion A.I. loaded. If you stop using CRX, remove this patch at the same time.
This is an unofficial fix and isn't made by or affiliated with the CRX author. All credit for CRX goes to its creator. If CRX fixes this in an update, this patch can be removed.
Made by Silence_AUS for A.R.G.C.
License
Arma Public License No Derivatives (APL-ND)