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.
[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.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[2026-7-23. : 1:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
[2026-7-23. : 1:39 am]
Oh_Man -- where they use third party audioprogram called WWISE which basically makes adding audio extremely difficult
[2026-7-23. : 1:39 am]
Oh_Man -- i appreciate SCBW's ability to just let us upload and play WAVs so much compared to nightmare that is total war warhammer 3
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
Please log in to shout.


Members Online: l)ark_ssj9kevin