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.
  • jonas jonas:
    Good to see you Varine!
  • The Helper The Helper:
    Happy Sunday!
    +1
  • V-SNES V-SNES:
    Happy Sunday!
    +1
  • ToshibaNuon ToshibaNuon:
    Happy sunday!
    +2
  • The Helper The Helper:
    And its Friday!
  • The Helper The Helper:
    Happy Saturday!
    +1
  • V-SNES V-SNES:
    Happy Saturday!
  • The Helper The Helper:
    Happy Monday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    Happy Friday!
    +1
  • tom_mai78101 tom_mai78101:
    Starting this upcoming Thursday, I will be in Japan for 10 days.
  • tom_mai78101 tom_mai78101:
    Thursday - Friday will be my Japan arrival flight. 9 days later, on a Sunday, will be my return departure flight.
    +2
  • The Helper The Helper:
    Hope you have safe travels my friend!
    +1
  • vypur85 vypur85:
    Wow spring time in Japan is awesome. Enjoy!
  • The Helper The Helper:
    Hopefully it will be more pleasure than work
  • vypur85 vypur85:
    Recently tried out ChatGPT about WE triggering. Wow it's capable of giving a somewhat legitimate response.
  • The Helper The Helper:
    I am sure it has read all the info on the forums here
  • The Helper The Helper:
    i think triggering is just scripting and chatgpt is real good at code
  • vypur85 vypur85:
    Yeah I suppose so. It's interesting how it can explain in so much detail.
  • vypur85 vypur85:
    But yet it won't work.
  • The Helper The Helper:
    it does a bad ass job doing excel vba code it has leveled me up at my job when I deal with excel that is for sure
  • vypur85 vypur85:
    Nice! I love Excel coding as well. Has always been using Google to help me. Maybe I'll use ChatGPT next time when I need it.
  • The Helper The Helper:
    yeah whatever it puts out even if it is not perfect I can fix it and the latest version of chatgpt can create websites from pictures it will not be long until it can do that with almost all the tools
    +1

    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