Supply depot swap for marines trigger

S

spikemonchi

Guest
ok after spending numerous long hours on this trigger... i found it necessary to ask for help.

I want to make it so when i build a supply depot, it swaps out for 3 marines and one Jim raynor marine.

Basically the trigger would remove the supply depot and create the marines.

The trigger i am currently using is a series of triggers that look like this.

Condition:
Always();


Action:
Comment("Marine Force 1");
PreserveTrigger();
MoveLocation(Location 6, Marine Force, CurrentPlayer, Location 9);


#2
Condition:
Bring(CurrentPlayer, AtLeast, 1, Marine Force, Location 6);

Action:
Comment("Marine Force 2");
PreserveTrigger();
Wait(1000);
MoveUnit(1, The Mayor, CurrentPlayer, Location 6, Player one SCV Spawn);
RemoveUnitAtLocation(1, Marine Force, CurrentPlayer, Location 6);
CreateUnit(3, Military Man Regular, Marine Spawn p1, CurrentPlayer);
CreateUnit(1, Gatling Gun, Hero spawn p1, CurrentPlayer);


#3
Condition:
Bring(CurrentPlayer, Exactly, 3, Military Man Regular, Marine Spawn p1);
Bring(CurrentPlayer, Exactly, 1, Gatling Gun, Hero spawn p1);

Action:
MoveUnit(3, Military Man Regular, CurrentPlayer, Marine Spawn p1, Location 6);
MoveUnit(1, Gatling Gun, CurrentPlayer, Hero spawn p1, Location 6);
PreserveTrigger();
Comment("Marine Force 3");


#4
Condition:
Bring(CurrentPlayer, AtLeast, 3, Military Man Regular, Location 6);
Bring(CurrentPlayer, AtLeast, 1, Gatling Gun, Location 6);

Action:
Wait(10);
MoveUnit(1, The Mayor, CurrentPlayer, Player one SCV Spawn, Location 6);
PreserveTrigger();
Comment("Marine force 4");


Trigger number 4 is designed to move the scv back to its original location at the end of the trigger.

Name Swaps:

THE MAYOR= SCV
MARINE FORCE= supply depot
MILITARY MAN REGULAR= marine
Gatling gun= Jim raynor

This trigger has a problem saying it cannot place the units in the location. then it says building exit is blocked... i think it is because of the scv.

If anyone can submit a correct trigger for this or fix the ones ive given it will be very appreciated.

Thanks
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top