Staredit Network

Staredit Network -> UMS Assistance -> Wait.
Report, edit, etc...Posted by Who-the-hell-ru on 2005-11-06 at 18:46:00
In the triggers, "wait" in any variable of time turns into a infinite amount of time, for example,

Actions:
Create 1 marine anywhere.
Wait x milliseconds.
Preserve Trigger.

However, it creates one marine, and it stops.

Is something corrupted?
Report, edit, etc...Posted by Mini Moose 2707 on 2005-11-06 at 19:02:58
Are the conditions aren't being met?
Do you have hyper triggers?
Is the game ending?

We can't really tell you much from the actions of one trigger.
Report, edit, etc...Posted by IsaT on 2005-11-06 at 19:53:09
That happened to me once, if you have hyper triggers take some of them out if you have alot, or reduce the number of wait 0milliseconds in each one that worked for me.
Report, edit, etc...Posted by Mp)MinigameEast on 2005-11-06 at 20:12:06
probably to much hyper triggers.

also you didnt tell us the condition.
Report, edit, etc...Posted by DT_Battlekruser on 2005-11-06 at 20:25:19
There is no such thing as "too much hypertriggers". If you have hypertriggers, give them to a player with no wait triggers, or ensure that they are at the bottom of the trigger list.
Report, edit, etc...Posted by PCFredZ on 2005-11-06 at 20:53:39
QUOTE(DT_Battlekruser @ Nov 6 2005, 08:25 PM)
There is no such thing as "too much hypertriggers".  If you have hypertriggers, give them to a player with no wait triggers, or ensure that they are at the bottom of the trigger list.
[right][snapback]349992[/snapback][/right]

By "bottom of the trigger list" he meant make sure the triggers are executed last. However, this does not always mean the bottom of the viewable triggers list.

The surefire way for it to work is to create the hyper triggers AFTER all other triggers containing waits. In other words, you can simply use the "Copy" function found in normal StarEdit, which 1) pops the trigger to the end of the list and 2) makes these new triggers the ones that will be "executed last" because the Copied triggers were created last. Make sure you delete the original Hypers created prior.
Report, edit, etc...Posted by Mini Moose 2707 on 2005-11-06 at 21:38:13
Or, use the switch method.
http://www.staredit.net/index.php?tutorial=128
Wait away.
Report, edit, etc...Posted by saibaman8 on 2005-11-06 at 21:50:10
i usually add hyper triggers last, since trigger reordering doesn't work in starforge. if reordering in staredit or scmd doesn't work, just delete them and add them again.
Report, edit, etc...Posted by IA-Sky on 2005-11-07 at 19:02:50
QUOTE(saibaman8 @ Nov 6 2005, 07:50 PM)
i usually add hyper triggers last, since trigger reordering doesn't work in starforge. if reordering in staredit or scmd doesn't work, just delete them and add them again.
[right][snapback]350064[/snapback][/right]


what you talking about reodering works in scmdraft if you have classic trig edit.
Report, edit, etc...Posted by Oo.Turin.oO on 2005-11-08 at 19:05:26
I think they are talking about the regular version that comes with it.
Report, edit, etc...Posted by Who-the-hell-ru on 2005-11-08 at 21:55:55
1. I didn't use hyper triggers.
2. There is no need for a condition. But if you want it condition is ALWAYS.
3. I'm using SCMdraft with classic trigger editor, and Starforge for moving the stuff around.
4. There is no 4.

So, what's wrong? It's not hyper triggers.
Report, edit, etc...Posted by LegacyWeapon on 2005-11-08 at 23:33:29
Do you have other triggers with waits? It could be wait blocks (where you have mutiple triggers with waits and the waits stack up).
Report, edit, etc...Posted by Red2Blue on 2005-11-09 at 03:01:07
Or it could be for non-existant player (though I can't think of how it would apply here)

Most maps are better with hyper triggers, (in my opinion, all maps need hyper triggers).

Have you tried using a different form of delay, like deathcounts?

Are you sure you are doing your milisecond math right?
Maybe you are making it wait too long.

1 second is roughly 1,000ms.
So 10 seconds would be roughly 10,000ms.
So just multiply your duration in seconds by 1000.

Make sure the trigger works... take out the wait before running it and see if it works. If the wait is short and it still isn't working you may have too many wait conditions for one player in different triggers.. Maybe posting the map might help us solve your problem faster.
Report, edit, etc...Posted by Who-the-hell-ru on 2005-11-09 at 20:26:59
It could be the waits being stacked up.

So, if one trigger for player one is

Condition:

Always

Action:

Create(1, marine ,anywhere, current player);
Wait(60,000); [One minute]
PreserveTrigger

Note that I am not caring about the structure, but just to give the basic meaning.
--------------------------------------------------------

And if I had another trigger for player one (The same player)

Condition:

Always

Action:

Wait(5);
DisplayText("Hi", always display);

That would be stacked, right?
Report, edit, etc...Posted by PCFredZ on 2005-11-09 at 20:37:13
Post the map.
Report, edit, etc...Posted by Staredit.Net Essence on 2005-11-10 at 04:37:10
QUOTE(Who-the-hell-ru @ Nov 10 2005, 11:26 AM)
It could be the waits being stacked up.

So, if one trigger for player one is

Condition:

Always

Action:

Create(1, marine ,anywhere, current player);
Wait(60,000); [One minute]
PreserveTrigger

Note that I am not caring about the structure, but just to give the basic meaning.
--------------------------------------------------------

And if I had another trigger for player one (The same player)

Condition:

Always

Action:

Wait(5);
DisplayText("Hi", always display);

That would be stacked, right?
[right][snapback]352066[/snapback][/right]

hmm....
i bet u no c++...

anyway, no wherever u have the trigger listed, it dont matter,
but inside the actual trigger it does.

hmm.. trigger lag is created by latency, so, whenever a trigger fires, that is when the trigger's message that was sent to the game has been responded to, and all other triggers get a response.
so, because of the "wait" in the hyper it is constantly getting a response, no matter the latency level, which means it will be fired the second it is triggered.

is this right?

anyway to ur problem, try making the marine at a location.. or actually set what player it is made for..
Report, edit, etc...Posted by in_a_biskit on 2005-11-10 at 07:27:38
Who-the-hell-ru [snapback]352066[/snapback]:
Yes, your triggers will experience a wait block if you make them for the same player in that order. The player will only receive the message after 60,005 milliseconds, after the marine is created.

So if you have a long wait action, or many wait actions, in triggers before the first one you posted (the marine spawning one), then you will experience a wait block, and the wait action will seem to be significantly longer than expected.

As suggested above, one way to avoid this problem is to use death counter timers as a substitute for wait actions.
Report, edit, etc...Posted by AFL-InuYasha on 2005-11-10 at 17:42:27
plain and simple, when 2 triggers with wait blocks are running at the same moment, alot of time, the oldest trigger (trigger created first) or the first fired trigger, will do its thing, then the other trigger(s) will fire
Report, edit, etc...Posted by PCFredZ on 2005-11-10 at 18:45:32
QUOTE(PCFredZ @ Nov 9 2005, 08:37 PM)
Post the map.
[right][snapback]352083[/snapback][/right]

That's the easiest way to solve this.
Report, edit, etc...Posted by Ultimo on 2005-11-10 at 19:27:53
I'm pretty sure it's the big 60 second wait block, but hey, that's just me.
Report, edit, etc...Posted by UN-Rommel on 2005-11-10 at 22:37:54
QUOTE(Who-the-hell-ru @ Nov 6 2005, 04:46 PM)
In the triggers, "wait" in any variable of time turns into a infinite amount of time, for example,

Actions:
Create 1 marine anywhere.
Wait x milliseconds.
Preserve Trigger.

However, it creates one marine, and it stops.

Is something corrupted?
[right][snapback]349888[/snapback][/right]


All you have to do is remove some hyper triggers or wait triggers if there is too many. blushing.gif
Report, edit, etc...Posted by Who-the-hell-ru on 2005-11-11 at 01:52:01
Ill post it when it's finished. Maybe withen november, or december. Since the game won't make sense at all without the ending.
Report, edit, etc...Posted by AFL-InuYasha on 2005-11-12 at 19:36:24
we want the map posted so we can help solve the dam problem
Report, edit, etc...Posted by Who-the-hell-ru on 2005-11-18 at 19:15:35
QUOTE(AFL-InuYasha @ Nov 12 2005, 05:36 PM)
we want the map posted so we can help solve the dam problem
[right][snapback]354459[/snapback][/right]



I think you should go over how to post it up too. Do I need a host website, or is SEN providing it?

Thanks.
Report, edit, etc...Posted by Oo.Turin.oO on 2005-11-18 at 20:18:42
at the bottom of your reply there is a button that says browse and right next to it a button that says add this attachment. Click browse...select your map...click add this attachment...then click post reply
Next Page (1)