Is-subsystem-destroyed-delay

From FreeSpace Wiki
Jump to: navigation, search
Is subsystem destroyed delay (Boolean operator)
        Becomes true <delay> seconds after the specified subsystem of the specified ship is destroyed.

Returns a boolean value; Takes 3 arguments:
        1:      Name of ship the subsystem we are checking is on.
        2:      The name of the subsystem we are checking status of.
        3:      Time delay in seconds (see above).

Comments

  • Current FreeSpace Open build automatically destroy all subsystems on a ship that's going down. This means every is-subsystem-destroyed-delay that pertains to that ship will turn true. If you don't want that, you have to do this:
$Formula: ( when 
  ( and 
     ( is-subsystem-destroyed-delay 
        "Arbiter" 
        "TurretHuge" 
        1 
     )
     ( not 
        ( is-destroyed-delay 0 "Arbiter" ) 
     )
  )