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.
[01:35 pm]
ninokaw193 -- RioGrand is a reputed name in manufacturing high- quality Criket Bats https://www.riogrand.in
[01:35 pm]
ninokaw193 -- RioGrand is a reputed name in manufacturing high- quality Criket Bats https://www.riogrand.in
[01:35 pm]
ninokaw193 -- RioGrand is a reputed name in manufacturing high- quality Criket Bats https://www.riogrand.in
[01:35 pm]
ninokaw193 -- RioGrand is a reputed name in manufacturing high- quality Criket Bats https://www.riogrand.in
[01:35 pm]
ninokaw193 -- RioGrand is a reputed name in manufacturing high- quality Criket Bats https://www.riogrand.in
[01:34 pm]
ninokaw193 -- RioGrand is a reputed name in manufacturing high- quality Criket Bats https://www.riogrand.in
[01:34 pm]
ninokaw193 -- RioGrand is a reputed name in manufacturing high- quality Criket Bats https://www.riogrand.in
[03:27 am]
m.0.n.3.y -- Maybe because it's an EUD map?
[03:27 am]
m.0.n.3.y -- Can't upload maps to the DB. Error says "The action you have performed caused an Error". Any word?
[2024-4-25. : 7:46 am]
RIVE -- :wob:
Please log in to shout.


Members Online: Roy, Dem0n, lil-Inferno, jun3hong