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.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: l)ark_ssj9kevin