Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Problem with Mobile Grids
Problem with Mobile Grids
This topic is locked. You can no longer write replies here.
Mar 7 2010, 10:46 pm
By: Urahara  

Mar 7 2010, 10:46 pm Urahara Post #1



Ive been helping my friend out on his map and Ive run across some trouble
It seems that every time I use this one spell, the top part of my grid is in the middle of the map and I dont know why
here are the triggers that are involved

Trigger(" Squad-1"," Squad-2"){
Conditions:
Bring("Current Player", "Infested Kerrigan (Infested Terran)", "Fighting Arena", At least, 1);
Command("Current Player", "Protoss Dragoon", At least, 1);
Deaths("Current Player", "Norad II (Battlecruiser)", Exactly, 0);

Actions:
Remove Unit("Current Player", "Protoss Dragoon");
Display Text Message(Always Display, "\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\x011Ground Shatter");
Set Deaths("Current Player", "Norad II (Battlecruiser)", Add, 1);
Comment("T600:");
Preserve Trigger();
}

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

Trigger(" Squad-1"," Squad-2"){
Conditions:
Bring("Current Player", "Infested Kerrigan (Infested Terran)", "Battle Arena", At least, 1);
Deaths("Current Player", "Norad II (Battlecruiser)", At least, 1);

Actions:
Set Deaths("Current Player", "Norad II (Battlecruiser)", Add, 1);
Comment("T600:");
Preserve Trigger();
}

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

Trigger(" Squad-1"," Squad-2"){
Conditions:
Bring("Current Player", "Infested Kerrigan (Infested Terran)", "Battle Arena", At least, 1);
Deaths("Current Player", "Norad II (Battlecruiser)", At least, 1);
Deaths("Current Player", "Norad II (Battlecruiser)", At most, 11);

Actions:
Create Unit with Properties("Current Player", "Zerg Devourer", 2, "Tsunade S", 1);
Create Unit with Properties("Player 7", "Zerg Devourer", 1, "Tsunade S", 1);
Create Unit with Properties("Current Player", "Zerg Devourer", 1, "Tsunade S", 1);
Create Unit with Properties("Player 8", "Zerg Devourer", 1, "Tsunade S", 1);
Create Unit with Properties("Current Player", "Zerg Devourer", 1, "Tsunade S", 1);
Create Unit with Properties("Player 7", "Kukulza (Mutalisk)", 1, "Tsunade S", 1);
Create Unit with Properties("Current Player", "Zerg Devourer", 1, "Tsunade S", 1);
Create Unit with Properties("Player 8", "Protoss Arbiter", 1, "Tsunade S", 1);
Create Unit with Properties("Current Player", "Zerg Devourer", 1, "Tsunade S", 1);
Create Unit with Properties("Player 8", "Zerg Mutalisk", 1, "Tsunade S", 1);
Create Unit with Properties("Current Player", "Zerg Devourer", 3, "Tsunade S", 1);
Create Unit with Properties("Player 7", "Zerg Mutalisk", 1, "Tsunade S", 1);
Create Unit with Properties("Current Player", "Zerg Devourer", 3, "Tsunade S", 1);
Create Unit with Properties("Player 8", "Kukulza (Mutalisk)", 1, "Tsunade S", 1);
Create Unit with Properties("Current Player", "Zerg Devourer", 3, "Tsunade S", 1);
Create Unit with Properties("Player 8", "Zerg Guardian", 1, "Tsunade S", 1);
Create Unit with Properties("Current Player", "Zerg Devourer", 2, "Tsunade S", 1);
Move Location("Player 7", "Zerg Devourer", "Battle Arena", "grid");
Move Location("Player 8", "Zerg Devourer", "Battle Arena", "grid 2");
Move Location("Player 7", "Kukulza (Mutalisk)", "Battle Arena", "grid 3");
Move Location("Player 8", "Protoss Arbiter", "Battle Arena", "grid 4");
Move Location("Player 8", "Zerg Mutalisk", "Battle Arena", "grid 5");
Move Location("Player 7", "Zerg Mutalisk", "Battle Arena", "grid 1");
Move Location("Player 8", "Zerg Guardian", "Battle Arena", "grid 6");
Move Location("Player 8", "Kukulza (Mutalisk)", "Battle Arena", "Grid 7");
Remove Unit("Player 8", "Zerg Mutalisk");
Remove Unit("Player 7", "Zerg Mutalisk");
Remove Unit("Player 8", "Zerg Guardian");
Remove Unit("Player 7", "Zerg Guardian");
Remove Unit("Player 7", "Zerg Devourer");
Remove Unit("Player 8", "Zerg Devourer");
Remove Unit("Player 8", "Protoss Arbiter");
Remove Unit("Player 7", "Kukulza (Mutalisk)");
Remove Unit("Player 8", "Danimoth (Arbiter)");
Remove Unit("Player 8", "Kukulza (Mutalisk)");
Kill Unit("Current Player", "Zerg Devourer");
Comment("T600:");
Preserve Trigger();
}

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

Trigger(" Squad-1"," Squad-2"){
Conditions:
Bring("Current Player", "Infested Kerrigan (Infested Terran)", "Battle Arena", At least, 1);
Deaths("Current Player", "Norad II (Battlecruiser)", Exactly, 12);

Actions:
Create Unit("Current Player", "Zerg Devourer", 24, "Tsunade S");
Move Unit("Foes", "Men", All, "Tsunade S", "Tsunade S");
Kill Unit At Location("Foes", "Vulture Spider Mine", All, "Tsunade S");
Kill Unit At Location("Foes", "Protoss Probe", All, "Tsunade S");
Kill Unit At Location("Foes", "Gui Montag (Firebat)", All, "Tsunade S");
Kill Unit At Location("Foes", "Jim Raynor (Vulture)", All, "Tsunade S");
Kill Unit At Location("Foes", "Infested Terran", All, "Tsunade S");
Kill Unit At Location("Foes", "Infested Duran", All, "Tsunade S");
Create Unit with Properties("Current Player", "Zerg Lurker", 1, "grid", 6);
Create Unit with Properties("Current Player", "Devouring One (Zergling)", 5, "grid", 6);
Create Unit with Properties("Current Player", "Zerg Lurker", 1, "grid 1", 6);
Create Unit with Properties("Current Player", "Devouring One (Zergling)", 5, "grid 1", 6);
Create Unit with Properties("Current Player", "Zerg Lurker", 1, "grid 2", 6);
Create Unit with Properties("Current Player", "Devouring One (Zergling)", 5, "grid 2", 6);
Create Unit with Properties("Current Player", "Zerg Lurker", 1, "grid 3", 6);
Create Unit with Properties("Current Player", "Devouring One (Zergling)", 5, "grid 3", 6);
Create Unit with Properties("Current Player", "Zerg Lurker", 1, "grid 4", 6);
Create Unit with Properties("Current Player", "Devouring One (Zergling)", 5, "grid 4", 6);
Create Unit with Properties("Current Player", "Zerg Lurker", 1, "grid 5", 6);
Create Unit with Properties("Current Player", "Devouring One (Zergling)", 5, "grid 5", 6);
Create Unit with Properties("Current Player", "Zerg Lurker", 1, "grid 6", 6);
Create Unit with Properties("Current Player", "Devouring One (Zergling)", 5, "grid 6", 6);
Create Unit with Properties("Current Player", "Zerg Lurker", 1, "Invalid Location", 6);
Create Unit with Properties("Current Player", "Devouring One (Zergling)", 5, "Invalid Location", 6);
Order("Current Player", "Devouring One (Zergling)", "Battle Arena", "Tsunade S", attack);
Kill Unit At Location("Current Player", "Zerg Devourer", All, "Anywhere");
Comment("T600:");
Preserve Trigger();
}

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

Trigger(" Squad-1"," Squad-2"){
Conditions:
Bring("Current Player", "Infested Kerrigan (Infested Terran)", "Battle Arena", At least, 1);
Deaths("Current Player", "Norad II (Battlecruiser)", At least, 13);

Actions:
Create Unit with Properties("Player 8", "Zerg Mutalisk", 1, "grid", 1);
Create Unit with Properties("Player 8", "Zerg Mutalisk", 1, "grid 1", 1);
Create Unit with Properties("Player 8", "Zerg Mutalisk", 1, "grid 2", 1);
Create Unit with Properties("Player 8", "Zerg Mutalisk", 1, "grid 3", 1);
Create Unit with Properties("Player 8", "Zerg Mutalisk", 1, "grid 4", 1);
Create Unit with Properties("Player 8", "Zerg Mutalisk", 1, "grid 5", 1);
Create Unit with Properties("Player 8", "Zerg Mutalisk", 1, "grid 6", 1);
Create Unit with Properties("Player 8", "Zerg Mutalisk", 1, "Invalid Location", 1);
Kill Unit("Player 8", "Zerg Mutalisk");
Comment("T600:");
Preserve Trigger();
}

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

Trigger(" Squad-1"," Squad-2"){
Conditions:
Bring("Current Player", "Infested Kerrigan (Infested Terran)", "Battle Arena", At least, 1);
Deaths("Current Player", "Norad II (Battlecruiser)", Exactly, 60);

Actions:
Kill Unit At Location("Current Player", "Zerg Lurker", All, "Anywhere");
Kill Unit At Location("Current Player", "Devouring One (Zergling)", All, "Anywhere");
Set Deaths("Current Player", "Norad II (Battlecruiser)", Set To, 0);
Comment("T600:");
Preserve Trigger();
}

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



None.

Mar 7 2010, 11:29 pm CecilSunkure Post #2



If the location is centering on the middle of the map, then that means the unit that you are centering the location onto isn't in the right location, or isn't owned by the correct player, or isn't the right type of unit, causing your location to just center at the center of "anywhere".



None.

Mar 8 2010, 12:19 am Urahara Post #3



Thanks, i think i got it
It had something to do with the location "Grid 7", but i fixed it
This can be closed, thanks ;)



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Roy