I am trying to make a location follow a zergling so when you go on a spider mine that it removes the mine and gives you a mineral but I want to use the same location so that when you get the upgraded zergling that it still does the same thing but my triggers wont work so can someone tell me my problem?CODE
Trigger's
Condition:
Command(CurrentPlayer, Exactly, 1, Collector);
Action:
MoveLocation(P1 Follower, Collector, CurrentPlayer, Anywhere);
PreserveTrigger();
Comment("Regular Follower");
----------
Condition:
Command(CurrentPlayer, Exactly, 1, Collector);
Action:
MoveLocation(P1 Follower, Collector, CurrentPlayer, Anywhere);
PreserveTrigger();
Comment("Advanced Follower");
----------
Condition:
Bring(P8, AtLeast, 1, Coin, P1 Follower);
Action:
SetResources(CurrentPlayer, Add, 1, Ore);
PlayWAV("staredit\\wav\\smw_coin.wav");
Wait(50);
RemoveUnitAtLocation(All, Coin, P8, P1 Follower);
Wait(500);
PreserveTrigger();
Comment("Gaining Coins");