Modding, Mission Design, and Coding > The FRED Workshop
Does secondary-fired-since work?
SF-Junky:
This SEXP seems not to work. Can anyone confirm that or am I just a little dumb again?
0rph3u5:
Show us the event, please
Also the FSO version number you are using would be good information too
SF-Junky:
It seems that it depends on the delay you enter. It only works if you enter a non-zero number.
--- Code: ---
$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" )
--- End code ---
Using FSO 20.1.0-20201211
mjn.mixael:
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.
SF-Junky:
--- Quote from: mjn.mixael on January 29, 2021, 03:08:19 pm ---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.
--- End quote ---
Ah okay. That's why it is secondary-fired-since and not secondary-fired-delay.
Navigation
[0] Message Index
[#] Next page
Go to full version