Currently(r1983) the setBotType event stores and saves the bot type as an object ID.
If you change the load order, or the datablock count, then the object it is trying to find, has a different ID.
The updated object ID is not reflected in any saved bricks, so upon loading a save with the setBotType event, the event will break.
This "fix" stores the bot type as an object "Name". Which should remain the same between loads.
However, this "fix" adds minimal lag when you add any event, or open the event dialog box, as it has to check for the setBotType event and change the data it is submitting.
If this problem is ever fixed by an addition to the default game, please remove this add-on.
This add-on will not be automatically updated if Bot_Hole is updated. Eventually, it will break something.
Download:
Mediafire -
http://www.mediafire.com/download/sdv47a858m0a3dd/Script_setBotTypeFix.zipDropbox -
https://www.dropbox.com/s/1yb17eih3aul0dp/Script_setBotTypeFix.zip?dl=0tldr; Sometimes the setBotType event doesn't load right. This add-on fixes that.