Author Topic: Help with repeating event please!  (Read 1848 times)

0 Members and 1 Guest are viewing this topic.

Offline Shiku

  • 25
Help with repeating event please!
Okay, for the mission I am FREDing, one ship must detonate an EM pulse every 100 seconds, but only after a certain destroyer has arrived.

My problem is with making the event continue to happen, but ONLY after the destroyer has arrived.

Can anybody help me with this event please?
No one becomes depraved all at once.

I followed Snipes quite wide and far,
And he led us to an unknown star,
But as soon as I surveyed the scene,
A great Sathanas did fill my screen,
As it rushed forward for a jump,
The both of us seemed destined to bump,
Until I heard Snipes, not too quiet,
“Dive, Dive!! Hit your burners, pilot!!!!” -Trayus

 

Offline Shade

  • 211
Re: Help with repeating event please!
Use the arrival of the destroyer as the trigger condition, set the number of repeats to 99 and set the repeat delay to 100.
Report FS_Open bugs with Mantis  |  Find the latest FS_Open builds Here  |  Interested in FRED? Check out the Wiki's FRED Portal | Diaspora: Website / Forums
"Oooooooooooooooooooooooooooooooooooooooh ****ing great. 2200 references to entry->index and no idea which is the one that ****ed up" - Karajorma
"We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct." - Niels Bohr
<Cobra|> You play this mission too intelligently.

 

Offline Shiku

  • 25
Re: Help with repeating event please!
thanks for the help Shade!

But, How do I create a repeating event? I can't seem to find the SEXPs for it.

No one becomes depraved all at once.

I followed Snipes quite wide and far,
And he led us to an unknown star,
But as soon as I surveyed the scene,
A great Sathanas did fill my screen,
As it rushed forward for a jump,
The both of us seemed destined to bump,
Until I heard Snipes, not too quiet,
“Dive, Dive!! Hit your burners, pilot!!!!” -Trayus

 
Re: Help with repeating event please!
That will work. The event will repeat 99 times. If the player is still there after 9,900 seconds, make him self-destruct.

That's what FREDers do all the time. Finding creative ways around FRED's limits. So don't expect a perfect solution.

If you have FreeSpace SCP, you may want to experiment with the every-time conditional.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Help with repeating event please!
Don't use every-time for this. It's not what it's meant to be used for. There are actually only a very small number of times when every-time should be used and this certainly isn't one of them. It's actually one of the most misused SEXPs in the game.


But, How do I create a repeating event? I can't seem to find the SEXPs for it.

You're looking in the wrong place. In the middle column of the event editor between the SEXP and Message windows there are a set of options. If the repeat count is changed to 99 and the repeat delay is set to 100 that would have the desired effect. 
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

  

Offline Shiku

  • 25
Re: Help with repeating event please!
Thanks Karajorma! Event works great now, and I don't wnat to think about all the time I spent looking for the SEXP when it was staring me in the face all along.
*goes to hide in embarrassment...
No one becomes depraved all at once.

I followed Snipes quite wide and far,
And he led us to an unknown star,
But as soon as I surveyed the scene,
A great Sathanas did fill my screen,
As it rushed forward for a jump,
The both of us seemed destined to bump,
Until I heard Snipes, not too quiet,
“Dive, Dive!! Hit your burners, pilot!!!!” -Trayus