How To Do It:-First download both of the editors with the links provided below.
-Open up Scmdraft 2 and then open your map followed by opening up the trigger editor. (Classic/Text)
-Make fake triggers (below)
-Now save the map.
-Then open up your StarForge folder ~"C:\Program Files\Star Forge\Data"
-Next open up the "Conditions" file by right clicking on it and modify it with a text editor. (Notepad++)
-Then modify the Deaths Condition triggers so that you can input a number instead of a units name. (Text underneath links)
-Now save the text file and open up StarForge.
-Then open up the triggers and go to the EUD triggers section
-Replace the "0" 's with the number that follows the UnitID:"xxxxx" (the "x"'s only)
-Now once all of the conditions are replaced save the map and ENJOY!
Downloads:Scmdraft 2StarForgeFake Triggers:When I make EUD triggers I get all of the information into a trigger that I need to without inputing the Extended Unit.
This means that I input the correct player, correct value, and correct comparison to which I want to have an EUD trigger function on.
After this is done, I simply open up the unit box for the Death Condition and then choose a Terran Marine. I do this because in StarForge, a Terran Marine is a "0" (UnitID: 0) and its easy to copy and paste the number over top of it.
Text:This is what it should look like when you open it. ~Line 76-78
Condition Deaths(Player Player, Comparison Comparison, Number Number, Unit Unit)
{
Condition(0, Player, Number, Unit, Comparison, 15, 0, 0);
This is what you need it to look like for it to work properly.
Condition Deaths(Player Player, Comparison Comparison, Number Number, Number Unit)
{
Condition(0, Player, Number, Unit, Comparison, 15, 0, 0);
Please note:Condition Deaths(Player Player, Comparison Comparison, Number Number, Number Unit)
{
Condition(0, Player, Number, Unit, Comparison, 15, 0, 0);
The bold underlined text is what you need to have. It went from "Unit Unit)" to "Number Unit)
None.