Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: FUBAR-BDHR on November 25, 2007, 05:14:35 pm
-
Anyone have a list of what you can and can't do? I was playing with it last night trying to get some directive to work but it seems like some sexps are just ignored. For example you can use is-destroyed-delay but you can't use destroyed-or-departed-delay or percent-ships-destroyed.
What about variables in directives? I read that someone was thinking about adding it. If it's there how do you use it?
-
In what way do you mean doesn't work? I've definitely used destroyed-or-departed-delay in a working directive this week and I'm fairly sure I've used percent-ships-destroyed too.
The only SEXP I know of which acted strangely in directives were the is-event/goal-true/false SEXPs and that has been fixed since 3.6.9 anyway.
-
I was playing with an event that was originally is-destroyed-delay with a list of 6 ships. If I change it to destroyed-or-departed-delay same list of 6 ships the directive does not even appear. All ships are there at the beginning of the mission. Same thing with percent-ships-destoryed.
-
Well I just tried that with the BtRL build (closest build I have to 3.6.9 Official) and six Vipers and it worked perfectly well. Both directives appeared on cue and completed when they were supposed to.
-
OK now this is getting weird. I tired destroyed-or-departed-delay again and it didn't work. Thinking it might be a timing thing I changed the delay from 0 to 2 and it worked. I changed it back to 0 to see if that was the cause and it still worked. Last 2 days everything I was trying wouldn't work. Now everything I am trying is working. Not quite the way I wanted but working.
Are there only certain sexps that will show the number of ships left in the directive?
-
I recall having problem with that SEXP...ONCE!
Works fine for me atm.