Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Burrow Detection
Burrow Detection
Jun 24 2008, 3:32 pm
By: Cabbit  

Jun 24 2008, 3:32 pm Cabbit Post #1



I have gotten the burrow detection example map and copied the triggers exactly. Doesn't work. I have NO CLUE to what could be wrong, can anyone help me?



None.

Jun 24 2008, 3:42 pm JaFF Post #2



Post your triggers. Go to the Text Trigger Editor (I hope you have SCMDraft2; if not - DL it) and copy/paste the triggers. If you haven't made any mistakes while copying them from the example map to your map, we can safely assume that other systems or conditions from your map interfere with the burrow detection.



None.

Jun 24 2008, 3:44 pm Cabbit Post #3



Trigger("Player 1"){
Conditions:
Always();

Actions:
Move Location("Current Player", "Zerg Zergling", "Anywhere", "Pixle Size Location");
Move Unit("Player 9", "Zerg Zergling", 1, "Comp Ling", "Pixle Size Location");
Preserve Trigger();
Comment("1");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Bring("Player 9", "Zerg Zergling", "Pixle Size Location", At least, 1);
Deaths("Current Player", "Zerg Zergling", Exactly, 1);

Actions:
Set Deaths("Current Player", "Zerg Zergling", Set To, 0);
Preserve Trigger();
Comment("2");
Display Text Message(Always Display, "Burrowed");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Bring("Player 9", "Zerg Zergling", "Pixle Size Location", Exactly, 0);
Deaths("Current Player", "Zerg Zergling", Exactly, 0);

Actions:
Set Deaths("Current Player", "Zerg Zergling", Set To, 1);
Preserve Trigger();
Comment("3");
Display Text Message(Always Display, "Unburrowed");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Bring("Player 9", "Zerg Zergling", "Comp Ling", Exactly, 0);

Actions:
Move Unit("Player 9", "Zerg Zergling", All, "Anywhere", "Comp Ling");
Preserve Trigger();
Comment("4");
}



None.

Jun 24 2008, 3:52 pm JaFF Post #4



Try this:

Trigger("Player 1"){
Conditions:
Always();

Actions:
Move Location("Current Player", "Zerg Zergling", "Anywhere", "Pixle Size Location");
Move Unit("Player 9", "Zerg Zergling", 1, "Comp Ling", "Pixle Size Location");
Preserve Trigger();
Comment("1");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Bring("Player 9", "Zerg Zergling", "Pixle Size Location", At least, 1);

Actions:
Preserve Trigger();
Comment("2");
Display Text Message(Always Display, "Burrowed");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Bring("Player 9", "Zerg Zergling", "Pixle Size Location", Exactly, 0);

Actions:
Preserve Trigger();
Comment("3");
Display Text Message(Always Display, "Unburrowed");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
Bring("Player 9", "Zerg Zergling", "Comp Ling", Exactly, 0);

Actions:
Move Unit("Player 9", "Zerg Zergling", All, "Anywhere", "Comp Ling");
Preserve Trigger();
Comment("4");
}



None.

Jun 24 2008, 3:57 pm Cabbit Post #5



Still doesn't work. I got rid of everything that would be interfering and still nothing.



None.

Jun 24 2008, 4:05 pm JaFF Post #6



Idiot check:
-Is the zergling you move actually P9? Make sure no external trigger is giving it to another player.
-There is only one zergling in the "Comp Ling" location. Make sure no other zergling is moved or created there.
-Make sure that the triggers I posted are placed in the same order.
-Are you loading the right version of the map? :P

If that doesen't help, simply give me the map.



None.

Jun 24 2008, 4:11 pm Cabbit Post #7



Hah, the idiot check didn't help but I figured it out. Thanks JaFF.



None.

Jun 24 2008, 4:12 pm JaFF Post #8



Out of curiosity - what was it?



None.

Jun 24 2008, 4:24 pm Cabbit Post #9



I had about 20 lings for player 1 on the map. I overlooked the fact that the trigger was set to center on a zergling. There was about 20 in the location I had.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:20 pm]
anoeth47 -- Sweet
[07:48 pm]
NudeRaider -- https://staredit.net/381642/ really makes you appreciate (again) how good sc music is.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
Please log in to shout.


Members Online: Prankenstein