Advanced trigger editor for SCMDraft2.
How to install : Extract the attachments to SCMDraft2 folder. SciLexer.dll should be at the same directory with SCMDraft2.exe.
How to run : Click "TrigEdit++" instead of "Trigger Editor" menu.
Useful for editing EUD triggers. This program was initially designed to be EUD editor, but it became a lot better.
This program uses
Scintilla and
Lua.
Features:
1. Syntax highlighting.
2. Starforge-like autocompletion.
3. Lua code Every valid lua code is valid in TrigEditPlus, so you can do something like this:
for i = 1, 5 do
Trigger {
conditions = [
Bring("Player " .. i, AtLeast, 1, "Terran Marine", "MyLcation");
],
actions = [
SetDeaths("Player " .. i, SetTo, 30, "Terran Marine");
]
}
end
note that the lua code will be replaced by normal triggers after the trigger is compiled.
4. EUD Support. You can write EUD conditions & EUD actions very easily.
SetDeaths(123456, SetTo, 789, 0);
Various shortcuts:
1. Ctrl + Shift + D : Unfold all triggers
2. Ctrl + Shift + F : Fold all triggers
3. F5 : Compile
4. Ctrl+S : Save. Basically same with the 'Compile'. but it doesn't produce 'Trigger successfully compiled' message when there are no errors.'
5. Ctrl + T : New trigger template
The older version (0.06beta - was around in 2017 I think), has 0 bugs that I've encountered while using, and I've used it a LOT in the past. Transmission actions however are unsupported and anything saved with a transmission in the trigger list will cause string corruption and blanked transmission actions. The older version interfaces with 0.8.0 scmdraft.
I'll upload the older version separately actually.