Yeah that didn't work... I forgot the unit still needs his original spawn point. I want each unit to re-spawn at his own unique location and this would not work for that.
How do I give each unit a custom ID to refer to when that unit dies?
I have 4 different units spawn at start of game. When one dies, I want that exact same unit to re-spawn at a given time. But I can not figure out how to ID that unit. In other words, how do I make the game know that it was a Zergling that died so it can create a new Zergling... instead of creating one of every unit.
I remember from SC1 a map editor called Star Forge (or something like that). It was a completely different editor than the standard SC1 one. I figured Galaxy Editor was SC2's version of that. But thanks for clearing that up. I hope someone does make a new and MUCH better version of this complicated mess that Blizzard gave us.
0
@erealmz: Go
Okay i got it for anyone else who might be wondering.
Unit - Any Unit dies
(Unit type of (Triggering unit)) == Roach
(Owner of (Triggering unit)) == 2
Unit - Create 1 Roach for player 2 at (Center of Roach) using default facing (No Options)
0
@erealmz: Go
Yeah that didn't work... I forgot the unit still needs his original spawn point. I want each unit to re-spawn at his own unique location and this would not work for that.
0
@xHawkEyex: Go
Duh ha? Thanks man!!!
0
How do I give each unit a custom ID to refer to when that unit dies?
I have 4 different units spawn at start of game. When one dies, I want that exact same unit to re-spawn at a given time. But I can not figure out how to ID that unit. In other words, how do I make the game know that it was a Zergling that died so it can create a new Zergling... instead of creating one of every unit.
0
Event: Unit - Any Unit dies
Condition: (Owner of (Triggering unit)) == 2
Action: Game - End game in Victory for player 1 (Show dialogs, Show score screen)
Maybe?
0
I remember from SC1 a map editor called Star Forge (or something like that). It was a completely different editor than the standard SC1 one. I figured Galaxy Editor was SC2's version of that. But thanks for clearing that up. I hope someone does make a new and MUCH better version of this complicated mess that Blizzard gave us.
0
@Sixen: Go
So I am already using it... nice. But why is it called Galaxy Editor when there is no mention of the name in the editor itself?
0
My version is simply called "StarCraft 2 Map Editor". What is this "Galaxy Editor" I hear so much about and where can I get it?