Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Crazy scarab frenzies don't attack targets
Crazy scarab frenzies don't attack targets
Nov 29 2009, 11:31 pm
By: Kimaru  

Nov 29 2009, 11:31 pm Kimaru Post #1



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:
cat test1.scx
Hits: 6 Size: 146.3kb



None.

Nov 30 2009, 12:38 pm JaFF Post #2



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.

Dec 1 2009, 3:28 am Kimaru Post #3



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.

Dec 1 2009, 8:11 am Vrael Post #4



Quote from Map Triggers
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.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: DarkenedFantasies