Difference between revisions of "Ship-vanish"

From FreeSpace Wiki
Jump to: navigation, search
m (Added another way to circumvent the ship-vanish issue.)
m (Parts of the comment re-sorted properly.)
Line 7: Line 7:
 
*This is what Volition used to make Kappa wing disappear in [[Mystery of the Trinity]]. As the SEXP description says, ships that vanish do not count as ships that depart, so has-departed-delay will not work. It can be circumvented by using a SEXP tree like this: (is-event-true-delay "Event that uses ship-vanish").
 
*This is what Volition used to make Kappa wing disappear in [[Mystery of the Trinity]]. As the SEXP description says, ships that vanish do not count as ships that depart, so has-departed-delay will not work. It can be circumvented by using a SEXP tree like this: (is-event-true-delay "Event that uses ship-vanish").
  
*It's also possible to ignore the usage SEXP and use a well planned departure cue with no warp effect, and this would work most times also thanks to its compatibility with has-departed-delay.
+
*It's also possible to ignore the usage SEXP and use a well planned departure cue with no warp effect, and this would work most times also thanks to its compatibility with has-departed-delay. Ship-vanish is highly recommended, however, if a ship intended to jump out normally should vanish because of a certain event. In that case a departure cue with no warp effect won't do the trick - that's where ship-vanish comes in.
 
 
Ship-vanish is highly recommended, however, if a ship intended to jump out normally should vanish because of a certain event. In that case a departure cue with no warp effect won't do the trick - that's where ship-vanish comes in.
 
  
 
[[Category:Retail SEXPs]]
 
[[Category:Retail SEXPs]]

Revision as of 23:32, 9 March 2009

ship-vanish
Makes the named ship vanish (no log and vanish)
Single Player Only!  Warning: This will cause ship exit not to be logged, so 'has-departed', etc. will not work
1: List of ship names to vanish

Comments

  • This is what Volition used to make Kappa wing disappear in Mystery of the Trinity. As the SEXP description says, ships that vanish do not count as ships that depart, so has-departed-delay will not work. It can be circumvented by using a SEXP tree like this: (is-event-true-delay "Event that uses ship-vanish").
  • It's also possible to ignore the usage SEXP and use a well planned departure cue with no warp effect, and this would work most times also thanks to its compatibility with has-departed-delay. Ship-vanish is highly recommended, however, if a ship intended to jump out normally should vanish because of a certain event. In that case a departure cue with no warp effect won't do the trick - that's where ship-vanish comes in.