Here's the starting scenario: Command sends the customary initial message along the lines of "There's the target. Destroy it." After a little pause, I want a random wingmen to ask the player (Gold leader) to give out some sensible orders. ("What's the tactic, Gold leader?") Now, it is possible that 14 seconds in, some players have already issued some orders, so I want to make sure this random wingmen doesn't ask a superfluous question. Here's my current solution:
$Formula: ( when-argument
( random-of
"Gold 2"
"Gold 3"
"Gold 4"
"Red 1"
"Red 2"
"Red 3"
"Red 4"
)
( and
( has-time-elapsed 14 )
( string-equals
"@SubsysCommendation[no]"
"no"
)
( not
( query-orders
"<all fighters>"
"Destroy my target"
0
"Mandalorian"
)
)
( not
( query-orders
"Gold"
"Destroy my target"
0
"Mandalorian"
)
)
( not
( query-orders
"Red"
"Destroy my target"
0
"Mandalorian"
)
)
( not
( query-orders
"Blue"
"Destroy my target"
0
"Mandalorian"
)
)
( not
( query-orders
"<all fighters>"
"Cover me"
0
)
)
( not
( query-orders "Gold" "Cover me" 0 )
)
( not
( query-orders "Red" "Cover me" 0 )
)
( not
( query-orders "Blue" "Cover me" 0 )
)
( not
( query-orders
"<all fighters>"
"Engage enemy"
0
)
)
( not
( query-orders
"Gold"
"Engage enemy"
0
)
)
( not
( query-orders "Red" "Engage enemy" 0 )
)
( not
( query-orders
"Blue"
"Engage enemy"
0
)
)
)
( send-message
"<argument>"
"Normal"
"Any - General attk"
)
)
+Name: Msg - Start orders inquiry
+Repeat Count: 1
+Interval: 1
@SubsysCommendation[no] turns "yes" if the player issues orders to attack some particular subsystems whose destruction would be beneficial. Command commends the player for thinking ahead.
"Mandalorian" is a warship, the primary objective.
Now I could use the commands ("Destroy my target" etc) as arguments, but I want to randomize the wingmen AND have him ask the question at an appropriate time. Hence there is no "query-orders - Alpha 3 - form up on my wing" because it's not a tactic.