Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: NGTM-1R on May 27, 2006, 05:20:31 pm

Title: Another "How To" Question
Post by: NGTM-1R on May 27, 2006, 05:20:31 pm
I'm attempting to trigger a message based on two conditions in a nebular mission. First, I want it to trigger if a friendly ship approaches within a set range of a certain enemy ship; that's simple enough to do. I've already set that up once. But I also want the message to come from the ship that sets off the trigger.

Is that possible, and if so, how?
Title: Re: Another "How To" Question
Post by: karajorma on May 27, 2006, 08:03:16 pm
Easy. Use when-argument like this

when-argument
-any-of
--Beta 1
--Beta 2
--Beta 3
-<
--distance
---< argument >
---NameOfHostileShip
-send-message
--< argument >
--normal
--NameOfMessage