Staredit Network

Staredit Network -> UMS Assistance -> Trigger help
Report, edit, etc...Posted by Oo.Daekini.oO on 2005-12-18 at 16:10:56
Hi,
Im making a map like Pressure Defense. I made the triggers for the pres but, it doesnt go fast enought disgust.gif ...i did hyper trigger but still doesnt work crazy.gif ...i dunno wat to do to make it faster...anyone can help ? helpsmilie.gif
Report, edit, etc...Posted by Kow on 2005-12-18 at 16:11:50
Pres? Please write clearly so the problem may be addressed.

Also, we need more background. Post your triggers so they may be seen and evaluated.
Report, edit, etc...Posted by VizuaL on 2005-12-18 at 16:27:41
u mean the spawning?
Report, edit, etc...Posted by Oo.Daekini.oO on 2005-12-18 at 16:40:34
yes the spawning...
Heres my trigger ( i got 2 and its in SF )

Condition :
Bring(CurrentPlayer, AtLeast, 1, Civilian, low pressure 1);
Switch(lvl 1, Set);

Action :
CreateUnit(1, Drone, enemy 1 start, P8);
Wait(0);
MoveUnit(1, Civilian, P1, low pressure 1, low respwn 1);
Comment("Low 1");
PreserveTrigger();

2nd trigger.

Condition :
Bring(P1, AtLeast, 1, Civilian, low respwn 1);

Action :
Wait(0);
Order(Civilian, P1, low respwn 1, Move, low pressure 1);
PreserveTrigger();
Comment("Low 2");
Report, edit, etc...Posted by MindArchon on 2005-12-18 at 16:47:08
is Wait(0); supposed to be your hyper trigger?

Your going to have a whole lot of lapses doing that.

Make a new trigger altogether and do this:

Always();

Wait(0);^64
Report, edit, etc...Posted by fritfrat(U) on 2005-12-18 at 18:15:44
First off, add in the order to the same trigger that moves the unit back in the first place. That way, it will be forced to order movement to the create unit area only after it creates a unit or something.

Secondly, you wouldn't need waits in your triggers if you were doing it like pressure defense. Pressure defense takes the waits into account into how the civv must walk the distance every single time, so take out all waits in all your triggers except for hyper triggers, and then you'll be set.

For how long a level lasts, you can just use a death counter anyways.
Report, edit, etc...Posted by Oo.Daekini.oO on 2005-12-18 at 18:24:46
the wait isnt my hyper trig..i was trying something ermm.gif ...i dont noo how to use death counter...wth is that confused.gif ?
Report, edit, etc...Posted by www.com.au on 2005-12-18 at 20:38:34
you set the deaths counting down, so you get an integer, make it take away 1 death until it hits 0. then you get another trigger to make it reset to that integer.

an integer is any number.

that way you set up a trigger so every time the death count hits 1 or 0, it sets off the trigger. then it resets the amoutn of deaths, counts down again and sets the trigger off again.

it keeps looping like that.
Report, edit, etc...Posted by Red2Blue on 2005-12-19 at 07:11:30

QUOTE
the wait isnt my hyper trig..i was trying something  ...i dont noo how to use death counter...wth is that  ?


a deathcount is simply starcraft's way of counting how many times you personally have lost a unit due to razing (basically how many times each unit you have has been killed).

There are deathcounters for each and every possible unit you can imagine. Even some doodads (traps).


QUOTE
yes the spawning...
Heres my trigger ( i got 2 and its in SF )

Condition :
Bring(CurrentPlayer, AtLeast, 1, Civilian, low pressure 1);
Switch(lvl 1, Set);

Action :
CreateUnit(1, Drone, enemy 1 start, P8);
Wait(0);
MoveUnit(1, Civilian, P1, low pressure 1, low respwn 1);
Comment("Low 1");
PreserveTrigger();

2nd trigger.

Condition :
Bring(P1, AtLeast, 1, Civilian, low respwn 1);

Action :
Wait(0);
Order(Civilian, P1, low respwn 1, Move, low pressure 1);
PreserveTrigger();
Comment("Low 2");


You do not need the wait in your trigger if its 0. Actually, NEVER put a wait action if you don't need it, it will save you alot of greif.







Your problem is that the hyper trigger is probably being owned by all players or being owned by a player that is currently waiting. This results in "wait block," when two wait triggers attempt to wait at the same time!

"You can't wait twice."

To solve your problem, simply put the hyper triggers in a computer player who does not have any waits. I usually designate a computer player that does not have any waits and controls all the triggers without waits.
Report, edit, etc...Posted by Oo.Daekini.oO on 2005-12-20 at 08:07:13
those didnt help me...thnx anyway disgust.gif
Report, edit, etc...Posted by Snipe on 2005-12-20 at 10:54:26
uh daik there is already 3 pressure defence, wanna try going for somthing more original? But those triggers should have worked. Are you sure you did them right?
Report, edit, etc...Posted by Oo.Daekini.oO on 2005-12-20 at 19:54:20
i changed my mind..im trying to think of sumthing cooler...
Report, edit, etc...Posted by Red2Blue on 2005-12-21 at 07:35:48
Well im glad I could help you... I think...
Report, edit, etc...Posted by Oo.Daekini.oO on 2005-12-21 at 15:54:18
QUOTE(Red2Blue @ Dec 21 2005, 06:35 AM)
Well im glad I could help you... I think...
[right][snapback]385231[/snapback][/right]

well..in a way..u helped me change my mind biggrin.gif
Next Page (1)