A quick, extremely simple 14-line resource script which lets you specify "mount threads" for bot vehicles as you would with normal vehicles without any weird per-vehicle hacks.
package BotMountThreads {
function AIPlayer::mountObject(%this, %object, %slot) {
Parent::mountObject(%this, %object, %slot);
%thread = %this.getDataBlock().mountThread[%slot];
if (%thread $= "") {
%thread = "root";
}
%object.setActionThread(%thread);
}
};
activatePackage("BotMountThreads");
Usage example:
datablock AIPlayer(MyBotVehicle) {
...
mountThread[0] = "sit";
mountThread[1] = "sit";
mountThread[2] = "root";
};