Hey, I'm fixing up this cat and mouse map by adding a boss that launches scarabs in random directions, but for some reason the scarabs just go to the top left of the map. In the version I'm uploading, you can see that the scarabs work for about 10 seconds, then start ignoring the comsat stations and probe. The owners of the scarabs are computers and I'm using JYD.
Attachments:
None.
Check the triggers and make sure the actions follow this pattern:
-Move scarabs from reavers to the point from which they 'shoot' (call it location X)
-Run JYD AI at location X. Make sure that location X is no more than 2x2 tiles. 1x1 is preferred.
None.
The triggers follow that pattern. I amended my location sizes to match your suggestion. I tried both 1x1 and 2x2 and neither made a difference. Though, I'm still noticing one thing. For about 5 seconds, the scarabs do what they're supposed to. Then they ignore commands and go to the top left of the map. I should also mention that the map is not using hyper triggers, if that plays a role.
None.
Trigger("\x006C\x005ats - \x007Kill Those Mice!"){
Conditions:
Always();
Actions:
Modify Unit Hanger Count("Current Player", "Warbringer (Reaver)", 10, 0, "Cat Base");
Run AI Script At Location("TB2B", "Get Queen");
Set Invincibility("Current Player", "Dark Templar (Hero)", "Cat Place", enabled);
Set Deaths("Current Player", "Ursadon (Ice World)", Subtract, 1);
Set Deaths("Current Player", "Cantina", Subtract, 1);
Set Deaths("Current Player", "Cave", Subtract, 1);
Set Deaths("Current Player", "Cave-in", Subtract, 1);
Set Deaths("Current Player", "Cocoon", Subtract, 1);
Set Deaths("Current Player", "Uraj Crystal", Subtract, 1);
Preserve Trigger();
Comment("randomization");
Set Switch("What to buy?", randomize);
Set Switch("What to buy [2]?", randomize);
Set Switch("What to buy [3]?", randomize);
Set Switch("What to buy [4]?", randomize);
Set Switch("Teleportation 1", randomize);
Set Switch("Teleportation 2", randomize);
Set Switch("Teleportation 3", randomize);
}
//-----------------------------------------------------------------//
Trigger("\x006C\x005ats - \x007Kill Those Mice!"){
Conditions:
Always();
Actions:
Run AI Script At Location("TSW4", "Cat Base");
Run AI Script At Location("ZSUx", "Cat Base"); Preserve Trigger();
Comment("AI: Mine Minerals");
}
//-----------------------------------------------------------------//
You're spamming AI scripts (condition "always") for the same players that own the scarabs. This is probably interfering with the JYD scripts.
None.