Author Topic: Does secondary-fired-since work?  (Read 1567 times)

0 Members and 1 Guest are viewing this topic.

Offline SF-Junky

  • 29
  • Bread can mold, what can you do?
Does secondary-fired-since work?
This SEXP seems not to work. Can anyone confirm that or am I just a little dumb again?

 

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: Does secondary-fired-since work?
Show us the event, please

Also the FSO version number you are using would be good information too
"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 SF-Junky

  • 29
  • Bread can mold, what can you do?
Re: Does secondary-fired-since work?
It seems that it depends on the delay you enter. It only works if you enter a non-zero number.

Code: [Select]

$Formula: ( when
   ( secondary-fired-since "Alpha 1" 1 1 )
   ( send-message
      "#Command"
      "High"
      "AHAHAHA"
   )
)
+Name: Event name
+Repeat Count: 1
+Interval: 1
+Event Log Flags: ( "true" "false" )

Using FSO 20.1.0-20201211

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: Does secondary-fired-since work?
Those sexps can be confusing, but yes that makes sense. If you don't set a number, you're asking "was secondary fired in the last 0 seconds"... which of course it wasn't.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline SF-Junky

  • 29
  • Bread can mold, what can you do?
Re: Does secondary-fired-since work?
Those sexps can be confusing, but yes that makes sense. If you don't set a number, you're asking "was secondary fired in the last 0 seconds"... which of course it wasn't.
Ah okay. That's why it is secondary-fired-since and not secondary-fired-delay.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Does secondary-fired-since work?
Yep. Secondary-fired-delay would check if the secondaries were fired x seconds ago rather than in the last x seconds.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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