Staredit Network

Staredit Network -> UMS Assistance -> Replacing
Report, edit, etc...Posted by Zombie on 2005-11-14 at 22:27:43
I just started up mapping (yes i do map) and ive been wondering how to do this:


When you have a barracks and you build like a marine, how do i get it to switch that marine into a zealot? and like if i wanted a ghost i would make it into a dragoon.


Can anyone answer this?
Report, edit, etc...Posted by KaboomHahahein on 2005-11-14 at 22:48:03
You make a location.
Center the location onto the marine, remove the marine in the location and create a zealot in the location.
Same thing for the ghost to dragoon.

There should be a tutorial somewhere, if i recall correctly, on replacing creep colonies with sunkens but I can't find it.
Report, edit, etc...Posted by Kenoli on 2005-11-14 at 22:48:18
You can do something like:

Trigger
Description:
Marine to Zealot
Conditions:
¤ Command at least 1 Marine
Actions:
¤ Move 'location1' on Marine
¤ Remove 1 Marine at 'location1'
¤ Create 1 Zealot at 'location1'

Report, edit, etc...Posted by LegacyWeapon on 2005-11-14 at 22:48:58
Trigger
Conditions:
¤ Current player commands at least 1 Unit
Actions:
¤ Move location labeled 'Replacer' on Unit owned by Current player at 'Anywhere'.
¤ Remove 1 Unit at 'Replacer' for Current player.
¤ Create 1 Unit at 'Replacer' for Current player.
¤ Preserve trigger.

Red = unit being replaced
Green = unit replacing it
Report, edit, etc...Posted by Syphon on 2005-11-14 at 22:55:02
I prefer a simple.


Trigger
Description:
Replace
Players:
¤ Players
Conditions:
¤ Always
Actions:
¤ Center location labeled "" on "unit" owned by "player"
¤ Remove(kill for a gory transformation) all "unit" at "location"
¤ Create exactly 1 "other unit" at "location"
¤ Preserve Trigger.


And don't forget good ol' hyper triggers to amke this seem more fluid.

If you want to go all out you can add in EUD rally point detection to make the new units rally properly too!
Report, edit, etc...Posted by Zombie on 2005-11-14 at 22:57:35
Thank you guys, i havent tried this but when i get the chance i will.
Report, edit, etc...Posted by Kenoli on 2005-11-14 at 23:10:43
Syphon, your trigger is like, majorly screwed up. Like wow.

Plus there were already three answers. 0_o
Report, edit, etc...Posted by Ninebreaker on 2005-11-14 at 23:13:20
All he'd need is a bring condition...
Report, edit, etc...Posted by Syphon on 2005-11-14 at 23:15:51
QUOTE(Ninebreaker @ Nov 14 2005, 11:13 PM)
All he'd need is a bring condition...
[right][snapback]356293[/snapback][/right]


No, there doesn't need to be a condition if you want it to always happen.

And trust me, it works, I used almsot the exact same thing involving an overlord creating 2 young chrysallises then disappeaing. (Except there was a wait trigger.)
Report, edit, etc...Posted by Kenoli on 2005-11-14 at 23:25:56
QUOTE
No, there doesn't need to be a condition if you want it to always happen.

And trust me, it works, I used almsot the exact same thing involving an overlord creating 2 young chrysallises then disappeaing. (Except there was a wait trigger.)
You don't want it to happen always, you only want it to happen when they have a unit to be replaced.
Report, edit, etc...Posted by LegacyWeapon on 2005-11-14 at 23:40:33
QUOTE(Syphon @ Nov 14 2005, 10:55 PM)
I prefer a simple.





Trigger
Description:
Replace
Players:
¤ Players
Conditions:
¤ Always
Actions:
¤ Center location labeled "" on "unit" owned by "player"
¤ Remove(kill for a gory transformation) all "unit" at "location"
¤ Create exactly 1 "other unit" at "location"
¤ Preserve Trigger.


And don't forget good ol' hyper triggers to amke this seem more fluid.

If you want to go all out you can add in EUD rally point detection to make the new units rally properly too!
[right][snapback]356261[/snapback][/right]
This would make a huge mass of them at the center when there are none to replace.
Report, edit, etc...Posted by Syphon on 2005-11-15 at 16:26:51
QUOTE(LegacyWeapon @ Nov 14 2005, 11:40 PM)
This would make a huge mass of them at the center when there are none to replace.
[right][snapback]356309[/snapback][/right]


Oh right, forgot about that. blushing.gif
Next Page (1)