Author Topic: I'm stuck on something  (Read 1496 times)

0 Members and 1 Guest are viewing this topic.

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
I'm stuck on something
Is there a way to detect if no hostile craft are active the mission but there are hostile ships waiting to be triggered to arrive. 

I am building a mission where because of the way reinforcing waves arrive there is sometimes a delay of as much as 20 second between the last ship of the one wave of a wing being destroyed and the next arriving, but because of the other enemy wings in the area you can end up dealing with the stragglers of those wings while the problem wave arrives so I am looking at having command send a quick "we are still tracking enemy reinforcements" message should this gap occur so the player is reassured to hang about a little longer.  There is an RTB message and directive but until the player gets to that point there is no way for them to know that.
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: I'm stuck on something
Of the top of my head.

Check if there are any ships of the required wing present (num-ships-in-box, distance SEXPs, etc) Then check if the percentage of ships in that wing destroyed are 100%. If both are negative you're in a lull.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: I'm stuck on something
thanks mate that helped a lot.  :yes:
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: I'm stuck on something
Didn't I add the ability for Wings and IFF to num-ships-in-battle?  That would seem the logical way. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

  

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: I'm stuck on something
That would be even better. :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]