- Joined
- Mar 1, 2009
- Messages
- 280
How do i pick all units except peons and heroes and structures
so i can mass order them to attack?
so i can mass order them to attack?
If heroes are (properly) excluded from the move, then the issue is not with your trigger but that your peon units don't have the "worker" classification in the Object Editor.
In JASS (which GUI compiles to on map save) locations (GUI point type) are complex objects with variables holding a reference to them in the form of a handle. JASS has no automatic garbage collector so one must explicitly destroy/remove such complex objects before all references to them are lost. Failing to do this results in a memory leak.i didnt think i had to remove the location, thinking it would just be reset when the player used that same ability repeatedly resetting the location every time.