I've been trying to spawn enemies with the brainhunt AIMode, but the command itself seems unresponsive. I know there's something I'm missing because I've made it work once before. The problem is that to my eyes, I've copied the code exactly as it was in the working example and it stubbornly insists on the enemies standing around in sentry mode. Here's an example of my code when I'm creating the enemy:
Code:
example = CreateAHuman("Ima Example", "Example.rte");
chip = CreateHeldDevice("Control Chip","Base.rte");
example:AddInventoryItem(chip);
example.Team = 1;
example.Pos = Vector(2885, 710);
MovableMan:AddActor(example);
example.AIMode = Actor.AIMODE_BRAINHUNT;
I have no instances that send his AIMode back to sentry because every single instance of the enemy in the mission is sent to brainhunt. Other lesser enemies are sharing his curse, too.