Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Location Centering
Location Centering
Jul 24 2008, 4:41 pm
By: Cheathunta  

Jul 24 2008, 4:41 pm Cheathunta Post #1



How do i make it so a location is centered on a unit at all times? I tried:

Con:
Always
Actions:
Center location on civilian

Preserve

------------

But for some reason, it didnt work. Why is this?



None.

Jul 24 2008, 4:49 pm Kaias Post #2



Make sure you choose the correct player that owns the civilian and make sure you run the trigger for a player that is actually there.

Centering a location only centers it on the leftmost of the unit you specific owned by the player you specify. Although it would be nice, you can't just center it on all of them.

And unless you have that specific civilian the entire time and need it on him all the time, I wouldn't condition "always"



None.

Jul 24 2008, 4:53 pm Cheathunta Post #3



Well, the player starts out with 1 civ, so i wanted the location to be on him at all times.



None.

Jul 24 2008, 4:59 pm Kaias Post #4



Current Player brings at least 1 Terran Civilian to Anywhere
-----
Center Location "Civ Location" on Terran Civilian at Anywhere for Current Player
Preserve

I don't know the specifics of your map of course. Are you sure it isn't centering on him? I like to create an effect at a location if I'm not sure where it's going. I.E.

Current Player brings at least 1 Terran Civilian to Anywhere
-----
Center Location "Civ Location" on Terran Civilian at Anywhere for Current Player
Create 1 Protoss Shuttle at "Civ Location" for Current Player, Apply Properties: Hallucinated
Kill all Protoss Shuttle for Current Player
Preserve



None.

Jul 24 2008, 7:00 pm NudeRaider Post #5

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Yeah maybe the location IS centered but when you run the trigger for another player that uses that location the location has already been moved to another player's civ?




Jul 24 2008, 8:38 pm BaneOfRome Post #6



Well you could also have the location follow him as he moves...
I'm not exactly sure if this is it but I think it's something like:

Conditions
"Current player brings at least one civilian to anywhere."

Actions
"Center location X on civilian at anywhere."
"Move location X with civilian at location X."
"Preserve Trigger."

Not sure about the wording once again but I think this is pretty accurate.



None.

Jul 25 2008, 5:57 am Falkoner Post #7



Make sure you don't use Always as the condition when centering locations on a unit, because if the unit dies or something the location will be moved to the middle of the location you tell it to center on the unit in, just use Bring instead. I've found the hack called KCernal(look it up on google, I can't post) incredibly handy, as it has a location viewer in it, so you can use that to make sure the location is in the right spot.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: IlyaSnopchenko, Roy, jun3hong