I seem to be getting a lot of lag in multiplayer every time certain triggers are to be running. Would someone be kind enough to check these triggers to see if they would cause lag, leak etc. for me.It would be greatly appreciated.
If you prefer to tell me over skype my name is Necromoni, I am very active on there.
Most likely the map lags because of trigger errors. You should enable the trigger debugger when testing the map to find the problems.
But this is what I can spot from just looking at the pictures:
First picture:
"Triggering Unit()" shouldn't exist there. You would have to use "Triggering effect unit (.)" again.
Second picture:
The first loop over the integer uses the Variable to store the incremented integer. But you are then storing "Picked Integer" into it. I assume it will keep setting it to 0, so the loop runs a ton of times creating a bigger lag until sc2 cancels it before it completely freezes the game.
So, remove the "Set triggerCounter = (Picked Integer)".
Fourth picture:
Remove the "Set triggerCounter = (Picked Integer)".
I seem to be getting a lot of lag in multiplayer every time certain triggers are to be running. Would someone be kind enough to check these triggers to see if they would cause lag, leak etc. for me.It would be greatly appreciated.
If you prefer to tell me over skype my name is Necromoni, I am very active on there.
These are the suspected trigger images:
http://puu.sh/6fwey.png
Assist Trigger Event and Conditions
Assist Trigger Actions
Combat Checking Trigger
Most likely the map lags because of trigger errors. You should enable the trigger debugger when testing the map to find the problems.
But this is what I can spot from just looking at the pictures:
First picture:
"Triggering Unit()" shouldn't exist there. You would have to use "Triggering effect unit (.)" again.
Second picture:
The first loop over the integer uses the Variable to store the incremented integer. But you are then storing "Picked Integer" into it. I assume it will keep setting it to 0, so the loop runs a ton of times creating a bigger lag until sc2 cancels it before it completely freezes the game.
So, remove the "Set triggerCounter = (Picked Integer)".
Fourth picture:
Remove the "Set triggerCounter = (Picked Integer)".
Welcome to the world of debugging!
Make a init trigger opening the debug window.
Add a lot of debug messages (with conversions) to see whats running and if the values are correct.
have fun.... mahaha
Thanks very much for the helpful replies :)