Author Topic: FREDding help  (Read 1927 times)

0 Members and 1 Guest are viewing this topic.

Okay, I'm seriously stumped.

I have a mission with an installation, and you're supposed to defend it, however, I cannot find a way to make a mission objective that returns false if it is destroyed!

If I use not - is destroyed delay, it says the objective is completed as soon as I start the mission. The same thing is true for not - is event true delay and is event false delay. I can't use variables, because the mission objectives editor won't let me. Help!
Sig censored by people with no sense of humor

 

Offline Nuclear1

  • 211
You might want to use something along these lines for this:
Code: [Select]

-and
--not
---is-destroyed-delay
----Installation
----0
--is-event-true-delay
---End of Mission Event
---0


Doing this automatically makes FRED wait for the event to come true, while at the same time waiting for the installation to still be intact. So, at the end of the mission when "End of Mission Event" occurs and the installation is still there, the goal will return true (AKA: you win). If the station is destroyed before hand, then there is no possibilty of the two events playing out at the same time (AKA: you lose), so the goal returns false.

Hope this is right. I'll wait for kara or someone with a little more FRED experience to help me out here.
Spoon - I stand in awe by your flawless fredding. Truely, never before have I witnessed such magnificant display of beamz.
Axem -  I don't know what I'll do with my life now. Maybe I'll become a Nun, or take up Macrame. But where ever I go... I will remember you!
Axem - Sorry to post again when I said I was leaving for good, but something was nagging me. I don't want to say it in a way that shames the campaign but I think we can all agree it is actually.. incomplete. It is missing... Voice Acting.
Quanto - I for one would love to lend my beautiful singing voice into this wholesome project.
Nuclear1 - I want a duet.
AndrewofDoom - Make it a trio!

 
Thanks, I'll try that.
Sig censored by people with no sense of humor

 
So far, it seems to work. Thanks!
Sig censored by people with no sense of humor

 

Offline Nuclear1

  • 211
No problem at all. :)
Spoon - I stand in awe by your flawless fredding. Truely, never before have I witnessed such magnificant display of beamz.
Axem -  I don't know what I'll do with my life now. Maybe I'll become a Nun, or take up Macrame. But where ever I go... I will remember you!
Axem - Sorry to post again when I said I was leaving for good, but something was nagging me. I don't want to say it in a way that shames the campaign but I think we can all agree it is actually.. incomplete. It is missing... Voice Acting.
Quanto - I for one would love to lend my beautiful singing voice into this wholesome project.
Nuclear1 - I want a duet.
AndrewofDoom - Make it a trio!

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Quote
Originally posted by nuclear1
Hope this is right. I'll wait for kara or someone with a little more FRED experience to help me out here.


Don't need my help. That's exactly what I would have done :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 
In retrospect, it seems pretty obvious. I guess I just had FREDders block or something.
Sig censored by people with no sense of humor

  

Offline Nuclear1

  • 211
It happens. ;)
Spoon - I stand in awe by your flawless fredding. Truely, never before have I witnessed such magnificant display of beamz.
Axem -  I don't know what I'll do with my life now. Maybe I'll become a Nun, or take up Macrame. But where ever I go... I will remember you!
Axem - Sorry to post again when I said I was leaving for good, but something was nagging me. I don't want to say it in a way that shames the campaign but I think we can all agree it is actually.. incomplete. It is missing... Voice Acting.
Quanto - I for one would love to lend my beautiful singing voice into this wholesome project.
Nuclear1 - I want a duet.
AndrewofDoom - Make it a trio!