All of the locations are over walkable terrain. None of the triggers that teleport them are able to run though until the level generation trigger is done running.
I preplace the probes and run the Ai script during level generation because the probes don't seem to start mining immediately after the script is run (takes about 5 seconds).
The map is up in showcase, here is the attachment.
All triggers related to the probes during that period.
Trigger("Player 1"){
Conditions:
Switch("Between Levels", set);
Actions:
Display Text Message(Always Display, "\x01fGenerating level...");
Play WAV("staredit\\wav\\interm SC.wav", 0);
Move Unit("Player 4", "Protoss Probe", All, "Anywhere", "Storage");
Move Unit("Player 4", "Protoss Probe", 1, "Storage", "Dead Binky Eyes");
Move Unit("Player 4", "Protoss Probe", 1, "Storage", "Dead Clyde Eyes");
Move Unit("Player 4", "Protoss Probe", 1, "Storage", "Dead Inky Eyes");
Move Unit("Player 4", "Protoss Probe", 1, "Storage", "Dead Pinky Eyes");
Move Unit("Player 2", "Zerg Zergling", 1, "Arena", "Storage");
Move Unit("\x003A\x005rena", "Fenix (Zealot)", 1, "Arena", "Dead Binky");
Move Unit("\x003A\x005rena", "Infested Terran", 1, "Arena", "Dead Clyde");
Move Unit("\x003A\x005rena", "Protoss Zealot", 1, "Arena", "Dead Inky");
Move Unit("\x003A\x005rena", "Terran Marine", 1, "Arena", "Dead Pinky");
Give Units to Player("Player 4", "Player 3", "Men", All, "Dead Ghosts");
Set Switch("Between Levels", clear);
Set Switch("Next Level", set);
Set Switch("Zone 1", clear);
Set Switch("Zone 2", clear);
Set Switch("Zone 3", clear);
Set Switch("Zone 4", clear);
Set Switch("Zone 5", clear);
Set Switch("Zone 6", clear);
Set Switch("Zone 7", clear);
Set Switch("Zone 8", clear);
Set Resources("Player 1", Add, 1, gas);
Comment("Level generation 3");
Set Switch("Run Dead Ghosts", set);
Remove Unit("Player 11", "Terran Firebat");
Remove Unit("Player 11", "Ursadon (Ice World)");
Remove Unit("Player 11", "Sarah Kerrigan (Ghost)");
Remove Unit("Player 11", "Zerg Defiler");
Remove Unit("Player 11", "Zerg Hydralisk");
Remove Unit("Player 11", "Infested Kerrigan (Infested Terran)");
Remove Unit("Player 11", "Terran Vulture");
Remove Unit("Player 11", "Terran Medic");
Set Deaths("Player 1", "Alexei Stukov (Ghost)", Set To, 0);
Set Switch("Fruit 1", clear);
Set Switch("Fruit 2", clear);
Preserve Trigger();
}
//-----------------------------------------------------------------//
Trigger("Player 4"){
Conditions:
Switch("Run Dead Ghosts", set);
Actions:
Run AI Script At Location("PB1A", "Dead Ghost AI");
Set Switch("Run Dead Ghosts", clear);
Preserve Trigger();
Comment("Dead Ghost AI");
}
//-----------------------------------------------------------------//