Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Good ol' Unit Unplaceable
Good ol' Unit Unplaceable
Jul 2 2009, 6:02 am
By: FatalException  

Jul 2 2009, 6:02 am FatalException Post #1



In my map, sometimes there is a need to move things like ground units and powerups near the players main unit. Of course, when said unit is next to a wall, things that get moved to it instead go to the center. In an attempt to circumvent this, I made a small location in the center of the map and had things that went there be moved to a larger location centered on where they should have gone, but as long as there is a wall or otherwise unusable sapce around the middle of the location, the move doesn't work. Is there any other way to solve this problem?



None.

Jul 2 2009, 6:24 am Vrael Post #2



If it doesn't move correctly, use a mobile grid to check locations near the center of the location where you are moving it to to see if they can be moved to. If they can be moved to, move the unit there instead. This method has worked well so far in my map, which also has to circumvent a number of unit unplacable errors.



None.

Jul 2 2009, 6:43 am FatalException Post #3



Is there a way to use mobile grids like that without just brute-forcing it, or do I have to make a mobile grid, center the location, try to move, and repeat until it works?



None.

Jul 2 2009, 6:56 am Vrael Post #4



Here's the triggers I used:

Big Ol' Trigger List




None.

Jul 2 2009, 9:57 am JaFF Post #5



There is a much simpler solution. Say you want to move unit A to your hero. You must find a unit B that is greater or equal in every dimentsion than unit A. Then do the following:

Create unit B at a remote location. Move unit B to your hero. Remove unit B. Create unit A to the location where unit B was.

Also, in response to this:
Quote
be moved to a larger location centered on where they should have gone
Contrary to popular belief, the size of the location units are moved to or created at does not change the outcome in any way (as long as the location center is where you want it to be).



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:05 pm]
Symmetry -- 50% of strings in starcraft are references
[2026-6-07. : 1:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
Please log in to shout.


Members Online: Symmetry