When I make a trigger in SF now and then save it, when I double click on it to go back and edit it, there's nothing in there. No text. Nothing.
Any explanation? This is really holding back my map development.
Did you select which player(s) the triggers belong to? If you don't they won't appear.
Conditions and actions without a semicolon --> ; <-- (this thing) will be automatically deleted when you save your trigger. End every line with a semicolon, always.
It won't let you save it if you don't put a ";". The action/condition won't be reconized so Montgomery probably forgot to select who the triggers belong to.
Lol, I guess I haven't missed semicolon with latest version. It used to do that, I remeber.
Yeah this always happens to me, but what the others have said is what was wrong with my triggers.
You're probably missing some syntactic thing that isn't being caught by the compiler. If you post the triggers you're trying to save here we can probably find the error for you. If you need an example of how to work the syntax, create a few triggers in SE and then open them with SF.
I've been making trigger with StarForge for a good while, but all of a sudden it just stopped working.
I actually didn't put in the semicolon at first, but when I went in and remembered to use it, it
still didn't work. And yes, I did remember to put in the players. Here's an example: a very simple trigger, all of two lines.
Trigger |
nullPlayers: |
¤ Player 1 |
Conditions: |
¤ Player 1 brings 1 any unit to anywhere |
Actions: |
¤ Give all Player 12 buildings at Vienna to Player 1 |
Simple as that.
EDIT: Oh... kay... it works now for some reason. I didn't do a single thing different, but it works. Oh well. Thanks for the help everyone.
That's not Starforge syntax. You sure you're not using TrigEdit or GUEdit?
No, I mean select the players. The checkmark thing. Where you click on the boxes to select. I did not mean the players in the trigger.
well you can have blank triggers, you know. i once made a trigger with nothing in it except a comment. it saved it. but i dont think you can run it.
You can create triggers without any actions or conditions. It won't do anything, of course.
A trigger without conditions I think will never fire, but it might always fire...I can't remember exactly.