Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: origin on August 05, 2008, 08:16:57 am

Title: wing arrivals
Post by: origin on August 05, 2008, 08:16:57 am
I want a wing of bad guys to show up when you visiting a Nav point.  I want them to show up before you reach the nav point, so you can't use the trigger Nav-is-visited.  I can't see how to do this, it looks like my choices are too limited on the wing editor.

Any ideas?
Title: Re: wing arrivals
Post by: Stormkeeper on August 05, 2008, 08:44:06 am
For your arrival cue, something like this might work:

when
-distance
--<
---Alpha1
---Nav Alpha
--<What ever distance you think is necessary>
Title: Re: wing arrivals
Post by: origin on August 05, 2008, 04:20:44 pm
Unfortunately there is no option to use the when statement, that I can figure out.  When I try to replace the true statement there is only a very limited number of options to replace it with...
Title: Re: wing arrivals
Post by: Dark Hunter on August 05, 2008, 04:36:25 pm
In the case of the arrival cues, the "when" is understood.

In other words, it's already there. Just ignore the "when" part and replace "true" with "distance", and go from there.
Title: Re: wing arrivals
Post by: karajorma on August 05, 2008, 04:58:02 pm
You'd have to replace it with > or < since Distance returns a number not a boolean.

But you're correct about the when being implicit so what you need to use for the cue is this.

- <
--distance
---Alpha 1
---Navpoint/waypoint/ship/whatever
--Whatever distance you want
Title: Re: wing arrivals
Post by: origin on August 05, 2008, 05:03:13 pm
Got it thanks!  I realized I was trying to put "distance" in before the '<' sign which was screwing me up.