Author Topic: SEXP'S  (Read 4682 times)

0 Members and 2 Guests are viewing this topic.

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
When-argument doesn't do anything of the sort. When-argument allows you to provide a list of ships or subsystems or anything else you wish to be used as arguments. SEXPs in the rest of the event can then be set up to use the arguments from list.

Basically if you ever have a collection of ships, subsystems or anything else and want something to happen to any of them that fullfill a condition or one at random or the whole lot in sequence or all of them, then you use when-argument.

The whole thing is explained in the FRED2_Open section of my FAQ.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Ah,I forgot you FAQ! Now engaging subspace drives(well,it's more a force-jump)
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline Polpolion

  • The sizzle, it thinks!
  • 211
How so? I don't see much of a resemblence.

Java is the only language I know squat about, so it might resemble them all, but, it uses boolean (true/false) variables (along with those INT variables, but no double variables) , along with a lot of the operaters are the same/similar. I doubt if any of what I'm saying actually makes sense, though :nervous:

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Ah. I get what you mean now. Most programming languages will resemble each other when it comes to basics like that. I've always said that if you can program you have the technical skills needed to make it a certainty that you could learn FRED.

Of course that doesn't mean you know how to make a mission playable :p
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
I HAVE LEARNED HOW TO USE THE NEW CONDITIONALS,THANKS ONCE AGAIN KARAJORMA!!!! :lol:
:lol:
:lol:
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 
Oh my god Karajorma you are awesome.

I was trying to make some b5 missions and got frustrated when I couldn't get what I wanted to happen to work right.
The "when-arguement" sounds exactly like what I needed.
Thanks.

  

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
No problem.

The way I see it is that I teach you guys tricks like this, you go out and make better missions than you would have otherwise and my reward is that I get to play them :)

It's a win-win for everyone :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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