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.
[07:38 am]
NudeRaider -- damn, if that doesn't scream UV, I don't know what does. https://staredit.net/382067/
[06:55 am]
UndeadStar -- :wob:
[02:28 am]
Symmetry -- :wob:
[09:17 pm]
RIVE -- :wob:
[07:03 pm]
CoCo( -- OK, click here if any1 is interested in this $ making opportunity https://staredit.net/topic/18952/
[04:39 pm]
NudeRaider -- sure, make a post in ums assistance
[2026-10-29. : 6:44 am]
CoCo( -- anyone willing to help fix a few triggers on a new "impossible" map? Please
[2026-10-28. : 6:52 pm]
lil-Inferno -- UndeadStar
UndeadStar shouted: https://www.youtube.com/watch?v=rbChzMFX0mE <= I wonder if that will attract new players to SC1&2 ?
:doubt:
[2026-10-28. : 3:18 pm]
UndeadStar -- Spoiler: there are no medics in that video
[2026-10-28. : 3:18 pm]
UndeadStar -- this made me remember a line in the Broodwar manual static about medics "lengthening the expected battlefield life expectancy to over nine seconds"
Please log in to shout.


Members Online: jun3hong, ihjel