Difference between revisions of "Self-destruct"

From FreeSpace Wiki
Jump to: navigation, search
m
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The Self-Destruct sexp immediately sets a ships health to zero.
+
self-destruct
This triggers the ships destruct animation rather then dissapearing the ship, if that is what you meant to do, there are better SEXPs.
+
Self destruct (Action operator)
 +
Causes the specified ship(s) to self destruct.
 +
Takes 1 or more arguments...
 +
All: Name of ship to self destruct.
 +
 
 +
*It should be noted that there is a difference between the FS1 SEXP and the FS2 SEXP. While the FS1 SEXP brings the ship's hull straight to zero immediately, the FS2 one brings it down successively.
 +
*In FS1, ships which were destroyed via self-destruct would be shown as 'Destroyed' in the F4 Mission Log. In FS2, they are said to have 'Self-Destructed.'
 +
*This triggers the ship's destruct animation rather than making the ship disappear, if that is what you meant to do, there are better SEXPs ([[ship-vanish]]).
 +
*Self-destruct will not always trigger the (is-destroyed-delay "Ship that self-destructs") SEXP tree, so it is safer to circumvent it by using the (is-event-true-delay "Event that triggers self-destruct").
 +
 
 +
[[Category:Retail SEXPs]]

Latest revision as of 13:13, 31 December 2008

self-destruct 
Self destruct (Action operator) 
Causes the specified ship(s) to self destruct. 
Takes 1 or more arguments... 
All: Name of ship to self destruct. 
  • It should be noted that there is a difference between the FS1 SEXP and the FS2 SEXP. While the FS1 SEXP brings the ship's hull straight to zero immediately, the FS2 one brings it down successively.
  • In FS1, ships which were destroyed via self-destruct would be shown as 'Destroyed' in the F4 Mission Log. In FS2, they are said to have 'Self-Destructed.'
  • This triggers the ship's destruct animation rather than making the ship disappear, if that is what you meant to do, there are better SEXPs (ship-vanish).
  • Self-destruct will not always trigger the (is-destroyed-delay "Ship that self-destructs") SEXP tree, so it is safer to circumvent it by using the (is-event-true-delay "Event that triggers self-destruct").