Author Topic: Why is this giving me two messages instead of one?  (Read 1582 times)

0 Members and 1 Guest are viewing this topic.

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Why is this giving me two messages instead of one?
I've a mission that has two events like this for every friendly wing (except player wing Alpha) ... It's intended to simulate that pilots in the other wings are smart enough to know when to quit the field if things get too hairy.




... it tiggers just fine but I get two messages from fighters in that wing before they jump out instead of one as it is intended.

I somehow think this is an easy fix but I don't really see it...
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."

 

Offline Axem

  • 211
Re: Why is this giving me two messages instead of one?
Your any-of is selecting both Beta 1 and Beta 2 because nothing in your comparison refers to an <argument>. You can try changing it to a random-of so it will choose exactly one (and randomly to boot!).

The random and in-sequence conditionals will only put through 1 argument, every other conditional will fit as many arguments that fit the bill.

  

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: Why is this giving me two messages instead of one?
Thanks!

Changing it to "random-of" did the trick...
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."