HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Some triggers mulfunction in a Bnet play...

11-17-2002, 11:36 AM#1
Zhenyok
I have triggered some events this way:
(there's a very large crowd of bandits standing alone that i devided intu 5 little groups, and each group must attack when the time comes)
EVENT elapsed time
COND...

ACTION:
Wait 100 sec
Order these units to move to.. (the first group attacks)
Wait..

Order those units to move.. (the second group must atak
Wait for xx..
Order those to move.. (the third grp wich isnt very large)
wait... etc...

So, the first section(bold font!) works correctly, but after the first move of units done, after time has come for the second group of attackers they just ALL go to that place at the same time!!
and that doesn't happen during lan play..
so what's the prob?
and also, does custom team names work in bnet???
11-17-2002, 03:41 PM#2
Zhenyok
I think it is a bug of trigger system or so..
11-17-2002, 05:28 PM#3
The_Cyberdemon1
Ok, i do know how to fix the wait problem.

Every time you want the game to wait, you have to make a new trigger. If you wanted to do this:
Action:
----Wait 10 seconds
----Do Nothing
----Wait 10 seconds
----Do nothing
----Wait 10 seconds
----Do nothing.

You would have to make this:
Action:
----Wait 10 seconds
----Do nothing
----Run trigger (NOTHING 2 <gen>)

NOTHING 2
Action:
----Wait 10 seconds
----Do nothing
----Run trigger (NOTHING 3 <gen>

I think you get the point.

I don't think the custom team names work.
11-17-2002, 05:44 PM#4
ph33rb0
What you really gotta do is run the wait player once for every player currently playing the game otherwise it doesnt work right.

And this only includes human players. So if there's 3 human players and 2 computers and you wanted to wait 10 seconds you'd have to wait 30 seconds instead.
11-17-2002, 09:47 PM#5
The_Cyberdemon1
Does that really work? That would be so much easier. That may pose a problem when ur not sure how many players there are, but you could make the wait time number of players X 10.
11-17-2002, 10:14 PM#6
Targash
Aint a for loop possible.
For 1 to 1000 do nothing()
That wold work for all players. And it would be done the same time for everyone because no computer is allowed to be ahead in the space time continium sort of. Atleast not in warcraft
11-17-2002, 10:58 PM#7
Phil_123
no it should be like this..

For (integer A/B) from (1) to (number of allies of player 1) do (run WAIT 10 SECS trigger ignoring conditions)

WAIT 10 SECS trigger:
actions:
wait 10 secs
do nothing