Staredit Network

Staredit Network -> UMS Assistance -> Obstacles not working
Report, edit, etc...Posted by t0fu on 2006-06-30 at 15:12:22
Here are my triggers so far:

Player 8:

~~~~~~~~~~~~this part is for the friends box~~~~~~~~~
------------------------------------------------------------------------

Always();

RunAIScriptAt(Set Unit Order To: Junk Yard Dog, Friends);
PreserveTrigger();
Comment("RunAlScript");

------------------------------------------------------------------------

Bring(P8, AtLeast, 1, ~ YAYUH, fr1);

MoveUnit(1, ~ YAYUH, P8, fr1, Friends);
PreserveTrigger();
Comment("fr1");

-------------I have 8 of these for 2 arbiters-----------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Bring(Force1, AtLeast, 1, Zergling, Start1);

SetSwitch(Switch 1, Set);
Comment("switch1");

------------------------------------------------------------------------

Switch(Switch 1, Set);

CreateUnit(1, Archon, a1, P8);
KillUnitAt(All, AnyUnit, a1, P8);
Wait(200);
CreateUnit(1, Archon, a2, P8);
KillUnitAt(All, AnyUnit, a2, P8);
Wait(200);
CreateUnit(1, Archon, a3, P8);
KillUnitAt(All, AnyUnit, a3, P8);
Wait(200);
CreateUnit(1, Archon, a4, P8);
KillUnitAt(All, AnyUnit, a4, P8);
Wait(200);
CreateUnit(1, Archon, a5, P8);
KillUnitAt(All, AnyUnit, a5, P8);
Wait(200);
CreateUnit(1, Archon, a6, P8);
KillUnitAt(All, AnyUnit, a6, P8);
Wait(200);
CreateUnit(1, Archon, a7, P8);
KillUnitAt(All, AnyUnit, a7, P8);
Wait(200);
CreateUnit(1, Archon, a8, P8);
KillUnitAt(All, AnyUnit, a8, P8);
Wait(200);
CreateUnit(1, Archon, a9, P8);
KillUnitAt(All, AnyUnit, a9, P8);
Wait(200);
PreserveTrigger();
Comment("trap1");

-----------------------------------------------------------------------

All Players:

-----------------------------------------------------------------------

ElapsedTime(AtLeast, 3);

DisplayText(" This map created by Tofu[FF]
Dedication to Shadow[FF]
-http://www.freewebs.com/opclanff", 4);
Comment("Greet");

------------------------------------------------------------------------

Always();

Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
Wait(0);
PreserveTrigger();
Comment("HyperTrig.");

----------------------------------------------------------------------------------------

I have 3 hypertriggers

And my obstacles aren't working. The archons aren't blowing up and appearing.
Only the first one in a1 blows up once. Then nothing else happens. If you're still
confused, I'll post my map here. Yes I am using StarForge triggers.
Report, edit, etc...Posted by Oo.Jamal.oO on 2006-06-30 at 15:19:15
Meh, not much problem I can see there. Anyway hyper triggers can not be in same category as a player with other triggers. If player 7 has no other triggers, put hyper triggers there. MMm that might fix it, if not i cant see nythign else wrong, without seeing the map i might be able to tell if i do see it.
Report, edit, etc...Posted by t0fu on 2006-06-30 at 15:27:29
QUOTE(Jamals2fat @ Jun 30 2006, 02:18 PM)
Meh, not much problem I can see there. Anyway hyper triggers can not be in same category as a player with other triggers. If player 7 has no other triggers, put hyper triggers there. MMm that might fix it, if not i cant see nythign else wrong, without seeing the map i might be able to tell if i do see it.
[right][snapback]515655[/snapback][/right]


ooo thx dude it works now =P

i have another question though. um..i looked in some guides about
the obstacle with moving units and if a zergling touches it it dies?
how does it work? i saw an example in a guide and it doesnt work =[
would u use the same triggers for larva dodging?
Report, edit, etc...Posted by Noober on 2006-06-30 at 15:33:23
You just center a location on the ling, and if the player with obs brings at least 1 any unit to that loc, kill the ling. Very easy.
Report, edit, etc...Posted by t0fu on 2006-06-30 at 15:36:40
QUOTE(Noober @ Jun 30 2006, 02:33 PM)
You just center a location on the ling, and if the player with obs brings at least 1 any unit to that loc, kill the ling. Very easy.
[right][snapback]515669[/snapback][/right]


i didnt quite get that um..could u show me an example ?
Report, edit, etc...Posted by A_of_s_t on 2006-06-30 at 16:10:03
condition:
Always

Action:
Center location "loc 1" on zergling owned by P1 at "anywhere".
Preserve Trigger

-----

condition:
P8 brings 1 "Dont touch me" to "loc 1".

Action:
Kill all units for P1 at "loc 1"
Preserve Trigger
Report, edit, etc...Posted by t0fu on 2006-06-30 at 16:18:48
QUOTE(A_of_s_t @ Jun 30 2006, 03:09 PM)
condition:
Always

Action:
Center location "loc 1" on zergling owned by P1 at "anywhere".
Preserve Trigger

-----

condition:
P8 brings 1 "Dont touch me" to "loc 1".

Action:
Kill all units for P1 at "loc 1"
Preserve Trigger
[right][snapback]515702[/snapback][/right]


the "dont touch me" isn't moving now =[ but when i touch it the zergling dies.
Report, edit, etc...Posted by Oo.Jamal.oO on 2006-06-30 at 16:22:56

null
Trigger
Players:
¤ Player 8
Conditions:
¤ Switch # is set.
Actions:
¤ Center Location "Center' on player 8's zergling.
¤ Preserve Trigger.



Trigger
Players:
¤ Player 1
Conditions:
¤ Current player brings at least 1 zergling to "Center"
Actions:
¤ Kill all zergling for ucrrent player at "center"
¤ Preserve Trigger.



Report, edit, etc...Posted by A_of_s_t on 2006-06-30 at 16:23:52
nice to repeat what I said


But anyway, just tell "dont touch me" to patrol or junk yard dog...
Report, edit, etc...Posted by Oo.Jamal.oO on 2006-06-30 at 16:35:21
Lol sorry thought he said it wasnt working and i didnt look closely at what u said, and also what u just aid lol
Report, edit, etc...Posted by t0fu on 2006-06-30 at 16:44:18
oo kk thx
ok now how do u make it so that the units dont patrol and wander off somewhere?
Report, edit, etc...Posted by Oo.Jamal.oO on 2006-06-30 at 17:05:05
Make it so that out of the spot they are wandering there is a location, and here is the trigger.



Conditions: Player 8 brings at least 1 unit to location.
Actions: Issue order unit owned by player 8 at location to location (in the place)
Actions: Preserve Trigger.


Do that for the area its in.
Report, edit, etc...Posted by t0fu on 2006-06-30 at 17:21:09
oo thx

k now it works but if i get killed by the "dont touch me"s they patrol someplace else. any help?
Next Page (1)