Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: soilder198 on December 31, 2013, 12:23:12 am
-
How can I get a directive to not appear at the beginning of a mission? I'm trying to have a few enemy wings pop in, at which point I want a directive to eliminate them to appear, but it simply puts the directive in at the beginning of the mission when that wing isn't even in the game yet.
-
Put the directive on the second event in a chain. Set the first event to become true when you want the directive to appear.
If you haven't yet done the Diaspora FRED tutorial I highly recommend it, it'll clear up almost all issues like this.
-
Put the directive on the second event in a chain. Set the first event to become true when you want the directive to appear.
If you haven't yet done the Diaspora FRED tutorial I highly recommend it, it'll clear up almost all issues like this.
I don't really understand what to do. I've chained them both, and one of the directives appears when I want it to, but the other doesn't appear at all.
I'm reading the tutorial from the extended walkthrough but it's too confusing.
-
Post a screenshot of the events window with your directives and the events they're chained to.
-
It was my understanding, last time I FREDed something (which, admittedly, was many years ago) that directives tied to "ship-destroyed-delay" SEXPs won't show up until that ship/wing appears. Did that change, or is my memory leading me astray? I certainly don't remember having to chain any events in those days...
-
Nope, it should still work that way for is-destroyed-delay. That being said, FSO has done some funky things with directives in the past ...
-
If you still couldn't get it, try:
1 - make an event that comes true when you want the directive to appear.
2 - put your directive event under the recently created event and chain it.
That's about it.
-
Post a screenshot of the events window with your directives and the events they're chained to.
This is what I have so far. I tried using the is-destroyed-delay command, and it worked fine except for the fact that the directive would never turn blue and count as being completed.
Edit: And I'm having no luck with these directives. Nothing pops up in game.
[attachment deleted by an evil time traveler]
-
Do the ships jump in during the mission? If so then you can make a has-arrived-delay event chained to an is-destroyed-delay with the is-destroyed-delay having a directive attached.
If the ship is in mission from the start, my work around is to use a dummy message event chained to the is-destroyed-delay event.
Also, it would help if the events linked to the Temperance are shown in the screenshot as the only directive events I see are Protect Azurite, Eliminate Leo, and Eliminate Gemini.
-
Do the ships jump in during the mission? If so then you can make a has-arrived-delay event chained to an is-destroyed-delay with the is-destroyed-delay having a directive attached.
If the ship is in mission from the start, my work around is to use a dummy message event chained to the is-destroyed-delay event.
Also, it would help if the events linked to the Temperance are shown in the screenshot as the only directive events I see are Protect Azurite, Eliminate Leo, and Eliminate Gemini.
The event linked to the temperance is working fine, as well as the Azurite one.
I tried your method but the directives don't show up.
[attachment deleted by an evil time traveler]
-
You don't want to have the "Gemini" sexp chained to the previous one, unchain it.
Also, it would be a good idea to keep the Leo events separated from the Gemini ones, the way they are set up now Leo ones will never trigger unless Gemini ones are done.
Edit: ehh... why did you set the arrival time to 100 on the Gemini/Leo triggering sexp (arrival check)?
-
You don't want to have the "Gemini" sexp chained to the previous one, unchain it.
Also, it would be a good idea to keep the Leo events separated from the Gemini ones, the way they are set up now Leo ones will never trigger unless Gemini ones are done.
Edit: ehh... why did you set the arrival time to 100 on the Gemini/Leo triggering sexp (arrival check)?
This is what I have now, but the directive still won't appear.
Edit: Ah I see, I had delays in for no reason. I was using percent-destroyed before and left the numbers in. Everything works fine now, thanks.
[attachment deleted by an evil time traveler]
-
Awesome, good luck with the mission :yes: