My trigger code:
Trigger("Plentarium Defense Force")
{
Conditions:
Bring("Current player", "Terran Civilian", "Assualt", Exactly, 1);
Actions:
Create Unit("Current player", "Terran Marine", 1, "Assualt");
Preserve Trigger();
}
When I click on the "compile" button, it says:
Error at line 8: next action or trigger end expected.
I read the FAQS and readme, but nowhere have I found a way to "end" a trigger.
EDIT: I found out how now. Gotta use the //------/ thingy.
EDIT 2: Is this a bug (I reported it)? Or is there something I'm not getting right since I can't use Jim Raynor in create units due to the fact that both Jim Raynor shares the same name... Anyone know how to overcome this obstacle?
Do you really have to use the //------/ thingy? I thought that was just a comment thing placed by TrigEdit to make things easier for you to read the triggers?
Edit: I just tested it. No you don't need that //----/, you just need to add a blank line after your triggers. I guess TrigEdit sees the new line character(s) as part of the syntax.
Alright, thanks for the tip BSTRhino.
Anyone know about the Jim Raynor bug?
I'm getting the same thing, I can't use the Siege tank from my triggers. I'm going to try to make a map and create the triggers with a regular editor and see what TrigEdit says. I'll be back with my results soon I hope.
Edit - Okay, here's what I found out:
Jim Raynor (Vulture) is Jim Raynor type 1 in TrigEdit, and Jim Raynor (Marine) is Jim Raynor type 2 in TrigEdit. Siege tanks are Siege Tank type 1 for Tank mode and Siege Tank type 2 for Siege Mode.
what about the kukulza mutalisk and guardian , edmond duke seige tanks , fenix zealot and dragoon , Tassadar high templar tassadar/zeratul archon and zeratul dark templars? what do you enter with all those units?
I think they should be in the help file telling you what to enter for them even though the tassadar and zeratul ones are kindve obvious.
How about you make the trigger with SCXE or some other program and open it with TrigEdit and see what was entered in that trigger