HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Order Lag fix?

10-23-2003, 08:17 PM#1
Hunter0000
Would creating a box of pathing blockers around a large(50+) group of units, then issueing then order, then waiting, then killing the blockers work?

Ima test it now anyways too.
10-23-2003, 08:34 PM#2
Hunter0000
hmm not working yet, im still playing around with it tho
10-23-2003, 08:48 PM#3
Supra God CrK
why do you need the pathing blockers? and why destroy them if they are needed?
10-23-2003, 09:04 PM#4
Hunter0000
hmmm nevermind all that, it doesnt work, damn spawns and their order lag!
10-23-2003, 10:09 PM#5
Grater
Are you talking about the way a large group of units "dribbles" away from the spawn spot rather than swarms?

There is an "easy" fix and it involves splitting the larger group into smaller groups of 12
I posted a solution in this thread:
http://www.wc3campaigns.com/forums/s...threadid=32758
In there i explain it's not custom text, just a normal graphical trigger with some custom script actions.

Here is a slighty updated version, to fix another memory leak.
Code:
Set GroupToMove = (Units owned by Player 1 (Red))
Custom script: loop
Custom script: exitwhen IsUnitGroupEmptyBJ(udg_GroupToMove)
Set tempGroup = (Random 12 units from GroupToMove)
Unit Group - Remove all units of tempGroup from GroupToMove
Unit Group - Order tempGroup to Attack-Move To (Center of Region 000 <gen> )
Custom script: call DestroyGroup(udg_tempGroup)
Custom script: endloop
Custom script: call DestroyGroup(udg_GroupToMove)
10-23-2003, 10:21 PM#6
Hunter0000
wow, thanks, howwever, how do I implement it?

I cannot tell from the scipt(I might as well be looking at russian) what triggers the trigger or how to change it, can you post what the trigger looked like before you set it to custom?
10-23-2003, 10:56 PM#7
Grater
*sigh* as I said in the other thread and my previous post, it's not custom text. It's a normal graphical trigger with "custom script" actions, this action is found in the top half dozen of the action list.

I'd attach a screenshot but I'm not in windows atm. Instead I've highlighted the custom script actions, just copy the part in red into new custom script actions. (to make it work, you dont need to modify these actions, only the normal actions)

Set GroupToMove = (Units owned by Player 1 (Red))
Custom script: loop
Custom script: exitwhen IsUnitGroupEmptyBJ(udg_GroupToMove)
Set tempGroup = (Random 12 units from GroupToMove)
Unit Group - Remove all units of tempGroup from GroupToMove
Unit Group - Order tempGroup to Attack-Move To (Center of Region 000 <gen> )
Custom script: call DestroyGroup(udg_tempGroup)
Custom script: endloop
Custom script: call DestroyGroup(udg_GroupToMove)
10-23-2003, 11:03 PM#8
Hunter0000
Yea, I kinda made my own ver, but look what happend!!!

http://www.wc3campaigns.com/forums/s...threadid=33661