Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Centering Locations
Centering Locations
Jul 11 2008, 1:15 pm
By: KyleIs1337  

Jul 11 2008, 1:15 pm KyleIs1337 Post #1



Hello, I need help centering locations on units. I have about 10-15 siege tanks in my map. They are owned by player 8. When the player moves a probe to a beacon and the civilian is next to a tank. He "gets in" it. (Giving tank to player and removing civilian). But my problem is that I only have 2 locations. One centered on a siege tank owned by player 1. And one centered on a siege tank owned by player 8. But when I try to go in a different siege tank it dosen't work. Can anyone help me.




Post has been edited 1 time(s), last time on Aug 10 2008, 7:28 pm by KyleIs1337.



None.

Jul 11 2008, 1:55 pm Clokr_ Post #2



Center the location over the civilian then recenter it on a tank in that location, so you always get the tank that is near the civilian.



?????

Jul 11 2008, 2:14 pm Echo Post #3



Yeah what Clokr_ said. Center location it to the civilian with the condition that you own a civilian. Then make another trigger with the condition that if there is no civilian and you own a tank, move the location to the tank. Make sure to have preserve trigger for both.



None.

Jul 11 2008, 2:48 pm KyleIs1337 Post #4



Yea I thought of that. But you can also pick up weapons and turn into a ghost. How would we use that?



None.

Jul 11 2008, 3:01 pm Echo Post #5



Same thing. You put location on civilian if you have no tank or ghost. If your civilian goes near a weapon, remove the weapon, remove civilian, then move the location to ghost. It's simple. Never use always as a condition for this though.



None.

Jul 11 2008, 3:51 pm Falkoner Post #6



If your entire map centers around the civilian, don't center the location on the tanks and ghosts, center it on the civilian, and from there you can detect when they go near another unit, remove the civilian, and give them the unit, and then you can center it on that unit instead, like Echo said, never use Always in the conditions for the centering of the location, use the Bring condition. The reason for this is because if you attempt to center a location on a unit that isn't there, it gets moved to the center of the location you told it the unit was in.



None.

Jul 11 2008, 4:29 pm KyleIs1337 Post #7



So How would I center it on the ghost instead.



None.

Jul 11 2008, 4:35 pm Falkoner Post #8



Have another trigger that says If Player x brings at least 1 Ghost to Anywhere, Move Location X on Ghost owned by Player x.



None.

Jul 29 2008, 3:23 am BlackWolf99 Post #9



you dont need a center location on p8 siege tank



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
[2026-7-26. : 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.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3: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: Roy