Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Retsof on December 20, 2007, 08:49:30 pm

Title: Directives
Post by: Retsof on December 20, 2007, 08:49:30 pm
I am making a mission, and there is the classic, "whats is that, go check it out, its the fuzzy thing on your radar".  I cant get the directive to turn red when it jumps out and you haven't got close enough.  You are actually supposed to fail this, so it's kind of important.
Title: Re: Directives
Post by: Hyper Ion on December 20, 2007, 10:35:48 pm
Hmm, 'tis tricky with my lack of experience. Should be an interesting puzzle. Let's see....

DIR (Scan ship)
---when
---------and
---------------is-cargo-known-delay
---------------------0
---------------------Evil ship o' doom
---------------not
---------------------has-departed-delay
------------------------------0
------------------------------Evil ship o' doom

Try that and see what happens.
Title: Re: Directives
Post by: FUBAR-BDHR on December 20, 2007, 10:42:45 pm
when
--<
----distance
------alpha 1
------(ship)
----(distance you must get past to succeed)
--do nothing

Will be incomplete unless you get to the succeed distance then will be true.  If ship warps before distance then it fails.
Title: Re: Directives
Post by: Retsof on December 21, 2007, 07:45:33 pm
Quote
when
--<
----distance
------alpha 1
------(ship)
----(distance you must get past to succeed)
--do nothing
I already tried that one, the directive stays blue.
EDIT:  I just tried it agian, I don't know what it was, but it works now.  Mabey I was using ">" instead of "<".