Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Retsof on March 15, 2008, 08:42:09 pm

Title: Directives Help
Post by: Retsof on March 15, 2008, 08:42:09 pm
I can't get this to show up right in the mission.  It is the classic "big ship coming, take out the beams" scenario.  The directive is there at the beginning of the mission instead of when the ship jumps in, and it gets fullfilled as soon as it arrives.
(http://www.maj.com/gallery/Retsof/Freespace/directive.bmp)
Title: Re: Directives Help
Post by: FUBAR-BDHR on March 15, 2008, 08:44:57 pm
Get rid of the has-arrived-delay its smart enough to know not to put it up until the ship arrives.  Also why 2 ands?  you can add as many arguments to one as you want.

Like this

when
-->and
--->is-subsystem-destroyed-delay
------>invidia
------>turret01-base
------>0
--->is-subsystem-destroyed-delay
------>invidia
------>turret02-base
------>0
--->is-subsystem-destroyed-delay
------>invidia
------>turret03a-base
------>0
-->do-nothing
Title: Re: Directives Help
Post by: Retsof on March 15, 2008, 08:50:45 pm
Oh, I thought you needed a new "and" for each thing.  Let's see if this works.
EDIT:  Okay, it worked, but why is there no little "3" next to it?
Title: Re: Directives Help
Post by: FUBAR-BDHR on March 15, 2008, 09:15:31 pm
That only works with certain sexps as far as I can tell. 
Title: Re: Directives Help
Post by: Retsof on March 15, 2008, 09:24:33 pm
Ah, that makes sense, it probably only works when dealing with multiple ships.