| 09-20-2003, 09:38 PM | #1 |
Hi folks, I am creating an Aeon of Strife-like map at the moment, and every time when one of the Barracks gets destroyed, there is a chance that several people will drop. I think my "<specific unit> dies" trigger is desyncing the map, has anyone ever had a similar problem with that kind of trigger? Other than the event, the triggers looks like the following: se b5 dies Events Unit - Barracks 0002 <gen> Dies Conditions Actions Trigger - Turn on nw rd ne <gen> Set sp_realtarget[1] = sp_regions[12] Set sp_toggle[15] = False Game - Display to (All players) the text: <...> "turn on nw rd ne" is a trigger that redirects unit movement, however it will not be executed with the death of all barracks, so I figured has to be some other part of the trigger. If anyone has experience with this, please give me a hint. I tried to fix this several times now (There were initially more actions in the trigger, which I already removed) and my ideas are running out. If noone knows an answer to this, I will have to do a manual check if the unit exists every 1.00 seconds or something like that, does anyone know if this takes more cpu time than a "Unit dies" event trigger? Greetings, Malleus |
| 09-20-2003, 10:00 PM | #2 |
errh, It would be better if you posted the trigger with the weird name, I am almost sure that the problem is inside it, cause the other stuff doesn't look suspicious. Try disabling the call to that trigger and see if your map desyncs. |
| 09-20-2003, 11:38 PM | #3 |
Hi Vaxorian, thanks for your post. As you request: nw rd ne Events Unit - A unit enters ne base <gen> Conditions ((Triggering unit) is in (Units owned by Player 10 (Light Blue))) Equal to True Actions Unit - Order (Triggering unit) to Attack-Move To (Center of se castle <gen>) Now, I am pretty sure that the map desyncs with or without the trigger, because the map sometimes also desynchs on e.g. this trigger: se b4 dies Events Unit - Barracks 0005 <gen> Dies Conditions Actions Set sp_realtarget[6] = sp_regions[11] Set sp_realtarget[4] = sp_regions[11] Set sp_toggle[14] = False Game - Display to (All players) the text: A Strygian Barracks... Which is as you can see nearly the exact same trigger as the above, but without the trigger call. Unfortunately I cannot reproduce the desync easily because it does not occur every time, it occurs seemingly at random - the only thing I am sure of is that it occurs in the exact moment one of my barracks is destroyed, and at no other time, and each of these barracks has a similar trigger running on their death. Sometimes it works perfectly - the next game everyone gets dropped, and the next game then only one person gets dropped. It's really weird :( Greetings, Malleus |
