Author Topic: What sexps work with directives?  (Read 1855 times)

0 Members and 1 Guest are viewing this topic.

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
What sexps work with directives?
Anyone have a list of what you can and can't do?  I was playing with it last night trying to get some directive to work but it seems like some sexps are just ignored.  For example you can use is-destroyed-delay but you can't use destroyed-or-departed-delay or percent-ships-destroyed.

What about variables in directives?  I read that someone was thinking about adding it.  If it's there how do you use it?
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: What sexps work with directives?
In what way do you mean doesn't work? I've definitely used destroyed-or-departed-delay in a working directive this week and I'm fairly sure I've used percent-ships-destroyed too.

The only SEXP I know of which acted strangely in directives were the is-event/goal-true/false SEXPs and that has been fixed since 3.6.9 anyway.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: What sexps work with directives?
I was playing with an event that was originally is-destroyed-delay with a list of 6 ships.  If I change it to destroyed-or-departed-delay same list of 6 ships the directive does not even appear.  All ships are there at the beginning of the mission.  Same thing with percent-ships-destoryed. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: What sexps work with directives?
Well I just tried that with the BtRL build (closest build I have to 3.6.9 Official) and six Vipers and it worked perfectly well. Both directives appeared on cue and completed when they were supposed to.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: What sexps work with directives?
OK now this is getting weird.  I tired destroyed-or-departed-delay again and it didn't work.  Thinking it might be a timing thing I changed the delay from 0 to 2 and it worked.  I changed it back to 0 to see if that was the cause and it still worked.  Last 2 days everything I was trying wouldn't work.  Now everything I am trying is working.  Not quite the way I wanted but working.

Are there only certain sexps that will show the number of ships left in the directive?
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

  

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: What sexps work with directives?
I recall having problem with that SEXP...ONCE!
Works fine for me atm.
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!