Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: 0rph3u5 on October 21, 2012, 09:42:02 am
-
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.
(http://i1020.photobucket.com/albums/af321/0rph3u5/FS%20Open/winghealthvariable.jpg)
(http://i1020.photobucket.com/albums/af321/0rph3u5/FS%20Open/winghealthmsg-bugged.jpg)
... 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...
-
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.
-
Thanks!
Changing it to "random-of" did the trick...