Difference between revisions of "Ship-vanish"
From FreeSpace Wiki
m (Parts of the comment re-sorted properly.) |
(something I found) |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
==Comments== | ==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"). | *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"). | ||
− | + | *Similarly, if you apply this to a wing, then [[is-destroyed-delay]] will not trigger. Instead, the given wing will count as departed, even if the fighters not affected by ship-vanish are destroyed. (last tested on: July 5, 2022 nightly build) | |
− | *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 | + | *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 of the times, 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. |
[[Category:Retail SEXPs]] | [[Category:Retail SEXPs]] |
Latest revision as of 16:23, 22 July 2022
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").
- Similarly, if you apply this to a wing, then is-destroyed-delay will not trigger. Instead, the given wing will count as departed, even if the fighters not affected by ship-vanish are destroyed. (last tested on: July 5, 2022 nightly build)
- 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 of the times, 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.