Staredit Network

Staredit Network -> UMS Assistance -> Trigger Assistance
Report, edit, etc...Posted by Oo.Insane.oO on 2006-02-03 at 22:37:35
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");
Report, edit, etc...Posted by Azu on 2006-02-03 at 22:53:27
Make sure they are all set to run for P1
Report, edit, etc...Posted by M_s4 on 2006-02-03 at 22:55:01
First of all, what wont work? Like when you step over the mine, can you hear the .wav? The top two triggers are like exactly the same and could you post the map?
Report, edit, etc...Posted by Oo.Insane.oO on 2006-02-03 at 23:03:14
Yeah I know there the same there off starforge just take my word that there 2 differnt units but like when I step over the mine nothing will happen its like the location just doesnt move or something
Report, edit, etc...Posted by Oo.Vic.oO on 2006-02-04 at 07:20:01
mayb there's a wait block...
Report, edit, etc...Posted by AgenT_Nick on 2006-02-04 at 08:36:36
do what i do. i kinda just create a boom (create and kill) over that location that follows. and if it follows then the location is right. but if that wont work try to use always instead of command. thats what i do.
Report, edit, etc...Posted by Oo.Insane.oO on 2006-02-04 at 12:17:13
Always doesnt work I already tried it maybe a Bring command?
Report, edit, etc...Posted by Kenoli on 2006-02-04 at 14:03:57
It looks like the first two triggers do the exact same thing.
Report, edit, etc...Posted by Fwop_ on 2006-02-04 at 14:39:37
The zergling could be named Collector and Devouring One could be named Collector. Make sure they are different or you probably might have wait blocks.
Report, edit, etc...Posted by Oo.Insane.oO on 2006-02-04 at 18:54:15
Yep it was wait blocks thanks for your help

-Solved
Next Page (1)