Author Topic: The distance operator  (Read 1297 times)

0 Members and 1 Guest are viewing this topic.

The distance operator
In FRED2 Open 3.7.0 RC2;

I could possibly not be using this properly, but when I try to use it under "when", it's grayed out. I want a SEXP to evaluate in the events editor according to when a ship is a certain distance to a waypoint, but when I try to add the operators "distance" or "distance-to-nav" they are grayed out. Is this a bug, or am I intending to use this incorrectly? The only operator choosable under "distance and coordinates" is "is-in-box." I would use this operator, but it doesn't work with waypoints.
Fun while it lasted.

Then bitter.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: The distance operator
You need to add a less then, greater than, or equal to comparison first.

  
Re: The distance operator
Oh, doi. Even after taking a logic class, it appears I haven't learnt anything.

Thanks very much.
Fun while it lasted.

Then bitter.