Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Creating a unit by a unit
Creating a unit by a unit
Jun 9 2008, 6:14 pm
By: Cheathunta  

Jun 9 2008, 6:14 pm Cheathunta Post #1



How do i make it so that once conditions are met, a unit will be created by one player's specific unit? Ive seen this in many maps and was wondering how



None.

Jun 9 2008, 6:18 pm Falkoner Post #2



You simply center a location on the other players unit(Move Location in some editors) and then create the unit at that location.



None.

Jun 10 2008, 3:02 pm Cheathunta Post #3



Heres what i tried:


Conditions

Player X kills Y amount of units

Actions:

Center location "anywhere" on unit Terran Marine at Anywhere

Display text maeesge: stuff

Create one Terran firebat at location anywhere

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


I tried this but it wont create the unit by the marine. It just creates it at the center of the map.



None.

Jun 10 2008, 3:19 pm Fierce Post #4



create a new location and change the "center location "location 1" on unit terran marine at anywhere
display text message
then create the firebat at the location 1



None.

Jun 10 2008, 5:09 pm Falkoner Post #5



Yeah... The anywhere location is the entire map, and therefore unless you invert the location(don't ask) it will bounce off all the walls, so it is permanently stuck where it is.



None.

Jun 10 2008, 7:13 pm Impeached Post #6



A more simple explanation of why it doesn't work:

The Anywhere location is the same size as the entire map. A location can't move outside the map borders. So if you try to move the Anywhere to location to anywhere else, it will have to make part of itself go outside the map border (impossible). Since it can't do this, the location stays in the only spot it can without going outside the map border: The middle.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
[2026-4-13. : 3:31 pm]
Vrael -- it only costs 50% of my post-tax salary for life and in return I get to also become a drone whose sole purpose is CAPITALISM
[2026-4-13. : 3:30 pm]
Vrael -- pssht, you're still using a phone? I just record 100% of my life using my ElonBrainChip
[2026-4-13. : 2:13 pm]
NudeRaider -- bro I don't go anywhere without my phone to record anything significant
[2026-4-13. : 1:28 pm]
Vrael -- Zoan
Zoan shouted: not if u wer there
id say even if you were there its tricky, human memory can be very faulty
Please log in to shout.


Members Online: Roy