Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: foolfromhell on July 26, 2007, 02:21:34 am

Title: How to set the mission objective to be completed if a target is scanned?
Post by: foolfromhell on July 26, 2007, 02:21:34 am
I cant find
Its not there even in the sexps.
Is there anything I can do?
There is an NTF cruiser that needs to be scanned as a secondary objective to finish my mission. How do I do it?
Title: Re: How to set the mission objective to be completed if a target is scanned?
Post by: Shade on July 26, 2007, 02:28:06 am
is-cargo-known-delay is the SEXP you're looking for
Title: Re: How to set the mission objective to be completed if a target is scanned?
Post by: Cobra on July 26, 2007, 02:33:07 am
(http://img514.imageshack.us/img514/769/oynh0.jpg)
Title: Re: How to set the mission objective to be completed if a target is scanned?
Post by: TrashMan on July 26, 2007, 05:34:49 am
Don't forget, for the crusers, under MIsc options cehck the Scannable checkbox and uncheck Cargo Known
Title: Re: How to set the mission objective to be completed if a target is scanned?
Post by: foolfromhell on July 27, 2007, 02:13:17 am
Didnt want to make a new topic.
How do I make a ship jump in if a certain target is tagged with a TAG missile?
I found a is_tagged SEXPS, but I cant find a jump in one. I found break-warp, fix-warp, never-warp, and allow-warp but those dont work.
And then, will is_tagged work with all 3 TAG missiles?
Title: Re: How to set the mission objective to be completed if a target is scanned?
Post by: karajorma on July 27, 2007, 02:18:54 am
Anything that involves a ship jumping in at a certain time will sooner or later involve that ship's arrival cue in the ships editor.
Title: Re: How to set the mission objective to be completed if a target is scanned?
Post by: TrashMan on July 27, 2007, 06:02:17 am
Ship Arrival Cue is also a SEXP, only it  by default allways set to true.

You know where you set the ship properties to jump in from Hyperspace, or in fron of a ship or from someones fighterbay? Well below that.

Just click on true and replace that with is-tagged-delay