Moderator
M
Moderator
12th Dec 2015
IcemanBo: Too long as NeedsFix. Rejected.
Bribe, 12th Aug 2011
Custom script: set udg_TempUnit = GetEnumUnit()
Set TempInteger = (Key (Picked unit))
The custom script is still unnecessary and still you reference (Picked unit) even though you had it set to a variable right above it. Reference the variable - don't call the function again.
Because you reference every single unit in the map every 0.03 seconds, I strongly advise using arrays with GUI Unit Indexer instead of hashtables, because hashtables are way slower than arrays.
IcemanBo: Too long as NeedsFix. Rejected.
Reviewed by Maker, 3D Pathing v2.0, 11th Jan 2012
Units bug at edges of platforms, the go up and down very rapidly making them blink
Units can also get stuck on edges of platforms
I used a flying unit and it somehow lost its selection circle
Maybe flying units don't need to fall
You might not want to pick structures
I think you should use a group you don't destroy, add/remove units to/from it
Maker, 2.5D Pathing, 18th Oct 2011
Instead of picking every unit in the map, you should do a group managing system. No you're picking structures and dead units also.
Use a group you never destroy, add units that enter the map/ are bough/revived etc. there. Remove dead units.
The Crow Form adding shouldn't be done in the looping trigger. As far as I can see, this shouldn't be done in the looping trigger as it goes to the then only once:And like Bribe said, make the two hashtable values normal variables.
- (Load 0 of TempInteger from Pathing) Equal to 0
I also recommend Unit Indexer instead of a hashtable due to arrays being faster.
Efficiency should be improved.
- Hashtable - Save 30 as 0 of 0 in Pathing
- -------- *Gravity Level* Note that if you make it 0 units will be suspended in air. --------
- Hashtable - Save 8 as 0 of 1 in Pathing
Custom script: set udg_TempUnit = GetEnumUnit()
Set TempInteger = (Key (Picked unit))
The custom script is still unnecessary and still you reference (Picked unit) even though you had it set to a variable right above it. Reference the variable - don't call the function again.
Because you reference every single unit in the map every 0.03 seconds, I strongly advise using arrays with GUI Unit Indexer instead of hashtables, because hashtables are way slower than arrays.